[lisa] disable PWM6 if PPM_CONFIG 2 is selected

This commit is contained in:
Gautier Hattenberger
2022-09-27 11:30:49 +02:00
committed by Freek van Tienen
parent 7b1d2ccb5c
commit 1407c5ff0f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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