Companion9x / simu compilation
This commit is contained in:
+2
-1
@@ -94,10 +94,11 @@ uint8_t *pulses2MHzWPtr = pulses2MHz;
|
|||||||
#define CTRL_REP_1CMD -3
|
#define CTRL_REP_1CMD -3
|
||||||
#define CTRL_REP_2CMD -6
|
#define CTRL_REP_2CMD -6
|
||||||
|
|
||||||
|
uint8_t g_ppmPulsePolarity = 0;
|
||||||
|
|
||||||
#ifndef SIMU
|
#ifndef SIMU
|
||||||
|
|
||||||
// TIMER1_COMPA_vect used for PPM and DSM2=SERIAL
|
// TIMER1_COMPA_vect used for PPM and DSM2=SERIAL
|
||||||
uint8_t g_ppmPulsePolarity = 0;
|
|
||||||
ISR(TIMER1_COMPA_vect) //2MHz pulse generation (BLOCKING ISR)
|
ISR(TIMER1_COMPA_vect) //2MHz pulse generation (BLOCKING ISR)
|
||||||
{
|
{
|
||||||
uint8_t dt = TCNT1L; // record Timer1 latency for DEBUG stats display
|
uint8_t dt = TCNT1L; // record Timer1 latency for DEBUG stats display
|
||||||
|
|||||||
Reference in New Issue
Block a user