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:
parent
547230b28b
commit
b1e04e7ee0
9 changed files with 32 additions and 10 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue