From 07275234720f13569f192c7f42886dfaf6d430bf Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 22 Aug 2012 10:38:54 +0000 Subject: [PATCH] Issue 87 fixed --- src/gruvin9x/somo14d.h | 2 +- src/pulses_avr.cpp | 12 +++++++----- src/sdcard.h | 3 +++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/gruvin9x/somo14d.h b/src/gruvin9x/somo14d.h index e8575379d..a8c148b9c 100644 --- a/src/gruvin9x/somo14d.h +++ b/src/gruvin9x/somo14d.h @@ -34,7 +34,7 @@ #define PROMPT_SYSTEM_BASE 230 #define PROMPT_CUSTOM_BASE 256 -#define pushCustomPrompt(p) pushPrompt(PROMPT_CUSTOM_BASE+p) +#define pushCustomPrompt(p) pushPrompt(PROMPT_CUSTOM_BASE+(p)) extern void pushPrompt(uint16_t prompt); extern bool isPlaying(); diff --git a/src/pulses_avr.cpp b/src/pulses_avr.cpp index e66be1f73..44142b4eb 100644 --- a/src/pulses_avr.cpp +++ b/src/pulses_avr.cpp @@ -173,7 +173,7 @@ ISR(TIMER1_COMPA_vect) //2MHz pulse generation if (!IS_PXX_PROTOCOL(s_current_protocol) && !IS_DSM2_PROTOCOL(s_current_protocol)) { - // cli is not needed because for these 2 protocols interrupts are not enabled when entering here + // cli is not needed because for PPM protocols, interrupts are not enabled when entering here #if defined(PCBV4) TIMSK1 |= (1<