Skip to content

Commit

Permalink
Fixed errorneous 'resource' lines in 'diff' when 'USE_PWM' is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller authored and hydra committed Sep 28, 2018
1 parent 1973218 commit 17d853f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/interface/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17d853f

Please sign in to comment.