1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 09:16:07 +03:00

PPM and PWM now have their own ___ReadRawRC functions.

Because a required change for PWM disturbed the PPM mode.
This commit is contained in:
ProDrone 2015-08-12 00:58:44 +02:00
parent 95840ae512
commit d2c40076db
3 changed files with 16 additions and 4 deletions

View file

@ -30,6 +30,7 @@ void ppmAvoidPWMTimerClash(const timerHardware_t *timerHardwarePtr, TIM_TypeDef
void pwmInConfig(const timerHardware_t *timerHardwarePtr, uint8_t channel);
uint16_t pwmRead(uint8_t channel);
uint16_t ppmRead(uint8_t channel);
bool isPPMDataBeingReceived(void);
void resetPPMDataReceivedState(void);