mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-22 20:36:06 +08:00
[lisa] disable PWM6 if PPM_CONFIG 2 is selected
This commit is contained in:
committed by
Freek van Tienen
parent
7b1d2ccb5c
commit
1407c5ff0f
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user