Skip to content

Commit

Permalink
[lisa] disable PWM6 if PPM_CONFIG 2 is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierhattenberger authored and fvantienen committed Sep 28, 2022
1 parent 7b1d2cc commit 1407c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sw/airborne/boards/lisa_m_common.h
Expand Up @@ -250,7 +250,7 @@
#define USE_DUAL_PWM6 1
#else
#define USE_PWM5 1
#ifndef USE_PWM6 // this allows to disable servo 6 on Lisa M
#if (!defined USE_PWM6) && (PPM_CONFIG != 2) // PWM6 only activated by default if PPM_CONFIG is not 2
#define USE_PWM6 1
#endif
#endif
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/boards/lisa_mx_common.h
Expand Up @@ -420,7 +420,7 @@
#define USE_PWM5 1
#endif

#ifndef USE_PWM6 // this allows to disable servo 6 on Lisa MXS
#if (!defined USE_PWM6) && (PPM_CONFIG != 2) // PWM6 only activated by default if PPM_CONFIG is not 2
#define USE_PWM6 1
#endif

Expand Down

0 comments on commit 1407c5f

Please sign in to comment.