A little bit code cleaning...
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -47,7 +47,7 @@ extern uint8_t s_current_protocol[NUM_MODULES];
|
||||
extern uint8_t s_pulses_paused;
|
||||
extern uint16_t failsafeCounter[NUM_MODULES];
|
||||
|
||||
#if defined(PCBSKY9X)
|
||||
#if defined(PPM_PIN_HW_SERIAL)
|
||||
PACK(struct PpmPulsesData {
|
||||
uint16_t pulses[20];
|
||||
uint32_t index;
|
||||
|
||||
Reference in New Issue
Block a user