renamed g_ppmInXXX into ppmInputXXX
g_ppmIns -> ppmInput g_ppmInputValidityTimer -> ppmInputValidityTimer
This commit is contained in:
+2
-2
@@ -87,7 +87,7 @@ void processSbusFrame(uint8_t *sbus, int16_t *pulses, uint32_t size)
|
||||
inputbits >>= SBUS_CH_BITS;
|
||||
}
|
||||
|
||||
g_ppmInputValidityTimer = PPM_IN_VALID_TIMEOUT;
|
||||
ppmInputValidityTimer = PPM_IN_VALID_TIMEOUT;
|
||||
}
|
||||
|
||||
void processSbusInput()
|
||||
@@ -108,7 +108,7 @@ void processSbusInput()
|
||||
else {
|
||||
if (SbusIndex) {
|
||||
if ((uint16_t) (getTmr2MHz() - SbusTimer) > SBUS_FRAME_GAP_DELAY) {
|
||||
processSbusFrame(SbusFrame, g_ppmIns, SbusIndex);
|
||||
processSbusFrame(SbusFrame, ppmInput, SbusIndex);
|
||||
SbusIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user