From 71c0b7b1d9f8fd5ebee6aa59af318c718975ca2f Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Sun, 11 Nov 2012 09:34:59 +0000 Subject: [PATCH] Companion9x / simu compilation --- src/pulses_avr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pulses_avr.cpp b/src/pulses_avr.cpp index f541d9f3b..8cbda4eb9 100644 --- a/src/pulses_avr.cpp +++ b/src/pulses_avr.cpp @@ -94,10 +94,11 @@ uint8_t *pulses2MHzWPtr = pulses2MHz; #define CTRL_REP_1CMD -3 #define CTRL_REP_2CMD -6 +uint8_t g_ppmPulsePolarity = 0; + #ifndef SIMU // TIMER1_COMPA_vect used for PPM and DSM2=SERIAL -uint8_t g_ppmPulsePolarity = 0; ISR(TIMER1_COMPA_vect) //2MHz pulse generation (BLOCKING ISR) { uint8_t dt = TCNT1L; // record Timer1 latency for DEBUG stats display