1
0
Fork 0
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:
blckmn 2016-11-15 20:59:05 +11:00
parent 547230b28b
commit b1e04e7ee0
9 changed files with 32 additions and 10 deletions

View file

@ -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