renamed g_ppmInXXX into ppmInputXXX

g_ppmIns -> ppmInput
g_ppmInputValidityTimer -> ppmInputValidityTimer
This commit is contained in:
Raphael Coeffic
2015-07-30 22:43:56 +02:00
parent 3049ff768e
commit ebae27272e
9 changed files with 26 additions and 26 deletions
+2 -2
View File
@@ -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;
}
}