mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +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
|
@ -361,7 +361,7 @@ void resetBeeperConfig(beeperConfig_t *beeperConfig)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef SKIP_RX_PWM_PPM
|
||||
#if defined(USE_PWM) || defined(USE_PPM)
|
||||
void resetPpmConfig(ppmConfig_t *ppmConfig)
|
||||
{
|
||||
#ifdef PPM_PIN
|
||||
|
@ -588,7 +588,7 @@ void createDefaultConfig(master_t *config)
|
|||
|
||||
resetBatteryConfig(&config->batteryConfig);
|
||||
|
||||
#ifndef SKIP_RX_PWM_PPM
|
||||
#if defined(USE_PWM) || defined(USE_PPM)
|
||||
resetPpmConfig(&config->ppmConfig);
|
||||
resetPwmConfig(&config->pwmConfig);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue