Fixed errorneous 'resource' lines in 'diff' when 'USE_PWM' is disabled.
This commit is contained in:
parent
946cbd257f
commit
8d03431699
|
@ -3722,8 +3722,10 @@ const cliResourceValue_t resourceTable[] = {
|
||||||
#ifdef USE_SERVOS
|
#ifdef USE_SERVOS
|
||||||
DEFA( OWNER_SERVO, PG_SERVO_CONFIG, servoConfig_t, dev.ioTags[0], MAX_SUPPORTED_SERVOS ),
|
DEFA( OWNER_SERVO, PG_SERVO_CONFIG, servoConfig_t, dev.ioTags[0], MAX_SUPPORTED_SERVOS ),
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_PWM) || defined(USE_PPM)
|
#if defined(USE_PPM)
|
||||||
DEFS( OWNER_PPMINPUT, PG_PPM_CONFIG, ppmConfig_t, ioTag ),
|
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 ),
|
DEFA( OWNER_PWMINPUT, PG_PWM_CONFIG, pwmConfig_t, ioTags[0], PWM_INPUT_PORT_COUNT ),
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_RANGEFINDER_HCSR04
|
#ifdef USE_RANGEFINDER_HCSR04
|
||||||
|
|
Loading…
Reference in New Issue