1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +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

@ -3763,7 +3763,7 @@ const cliResourceValue_t resourceTable[] = {
#ifdef USE_SERVOS
{ OWNER_SERVO, &masterConfig.servoConfig.ioTags[0], MAX_SUPPORTED_SERVOS },
#endif
#ifndef SKIP_RX_PWM_PPM
#if defined(USE_PWM) || defined(USE_PPM)
{ OWNER_PPMINPUT, &masterConfig.ppmConfig.ioTag, 0 },
{ OWNER_PWMINPUT, &masterConfig.pwmConfig.ioTags[0], PWM_INPUT_PORT_COUNT },
#endif