A little bit code cleaning...

This commit is contained in:
Bertrand Songis
2015-10-14 23:47:51 +02:00
parent 2902ae1887
commit c92909f7c5
15 changed files with 42 additions and 107 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ void setupPulsesPPM(unsigned int port) // Don't enable interru
PpmPulsesData * ppmPulsesData = (port == TRAINER_MODULE ? &trainerPulsesData.ppm : &modulePulsesData[port].ppm);
uint16_t * ptr = ppmPulsesData->pulses;
#if defined(PCBSKY9X)
#if defined(PPM_PIN_HW_SERIAL)
ppmPulsesData->index = 0;
#else
ppmPulsesData->ptr = ptr;