mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
Fixed errorneous 'resource' lines in 'diff' when 'USE_PWM' is disabled.
This commit is contained in:
parent
946cbd257f
commit
8d03431699
1 changed files with 3 additions and 1 deletions
|
@ -3722,8 +3722,10 @@ const cliResourceValue_t resourceTable[] = {
|
|||
#ifdef USE_SERVOS
|
||||
DEFA( OWNER_SERVO, PG_SERVO_CONFIG, servoConfig_t, dev.ioTags[0], MAX_SUPPORTED_SERVOS ),
|
||||
#endif
|
||||
#if defined(USE_PWM) || defined(USE_PPM)
|
||||
#if defined(USE_PPM)
|
||||
DEFS( OWNER_PPMINPUT, PG_PPM_CONFIG, ppmConfig_t, ioTag ),
|
||||
#endif
|
||||
#if defined(USE_PWM)
|
||||
DEFA( OWNER_PWMINPUT, PG_PWM_CONFIG, pwmConfig_t, ioTags[0], PWM_INPUT_PORT_COUNT ),
|
||||
#endif
|
||||
#ifdef USE_RANGEFINDER_HCSR04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue