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

PWM fix - and rename SKIP PWM and PPM to USE_PWM and USE_PPM

This commit is contained in:
blckmn 2016-11-15 20:59:05 +11:00
parent 547230b28b
commit b1e04e7ee0
9 changed files with 32 additions and 10 deletions

View file

@ -276,7 +276,7 @@ void init(void)
}
#endif
#ifndef SKIP_RX_PWM_PPM
#if defined(USE_PWM) || defined(USE_PPM)
if (feature(FEATURE_RX_PPM)) {
ppmRxInit(&masterConfig.ppmConfig, masterConfig.motorConfig.motorPwmProtocol);
} else if (feature(FEATURE_RX_PARALLEL_PWM)) {