From 3f9f70f8e8e1da0f2912e5acc7a9d06487557f48 Mon Sep 17 00:00:00 2001 From: bkleiner Date: Mon, 2 Sep 2024 11:17:35 +0200 Subject: [PATCH] lucid: remove in-accessible servo pins --- src/main/target/TBS_LUCID_FC/target.c | 10 ++-------- src/main/target/TBS_LUCID_FC/target.h | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/main/target/TBS_LUCID_FC/target.c b/src/main/target/TBS_LUCID_FC/target.c index 213948bacce..e6c7a3830ab 100644 --- a/src/main/target/TBS_LUCID_FC/target.c +++ b/src/main/target/TBS_LUCID_FC/target.c @@ -37,16 +37,10 @@ timerHardware_t timerHardware[] = { DEF_TIM(TMR3, CH3, PC8, TIM_USE_OUTPUT_AUTO, 0, 3), // S3 DEF_TIM(TMR3, CH4, PC9, TIM_USE_OUTPUT_AUTO, 0, 4), // S4 - DEF_TIM(TMR2, CH1, PA0, TIM_USE_OUTPUT_AUTO, 0, 8), // S5 - DEF_TIM(TMR2, CH2, PA1, TIM_USE_OUTPUT_AUTO, 0, 9), // S6 - DEF_TIM(TMR2, CH3, PA2, TIM_USE_OUTPUT_AUTO, 0, 10), // S7 - DEF_TIM(TMR2, CH4, PA3, TIM_USE_OUTPUT_AUTO, 0, 11), // S8 + DEF_TIM(TMR4, CH2, PB7, TIM_USE_OUTPUT_AUTO, 0, 8), // S5 + DEF_TIM(TMR4, CH3, PB8, TIM_USE_OUTPUT_AUTO, 0, 9), // S6 DEF_TIM(TMR1, CH1, PA8, TIM_USE_LED, 0, 5), // LED Strip - - DEF_TIM(TMR4, CH2, PB7, TIM_USE_ANY, 0, 6), // Aux - DEF_TIM(TMR4, CH3, PB8, TIM_USE_ANY, 0, 7), // Aux - }; const int timerHardwareCount = sizeof(timerHardware) / sizeof(timerHardware[0]); diff --git a/src/main/target/TBS_LUCID_FC/target.h b/src/main/target/TBS_LUCID_FC/target.h index b608622d1ed..7a9ed60fb52 100644 --- a/src/main/target/TBS_LUCID_FC/target.h +++ b/src/main/target/TBS_LUCID_FC/target.h @@ -140,7 +140,7 @@ #define USE_ESC_SENSOR #define USE_SERIAL_4WAY_BLHELI_INTERFACE #define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT -#define MAX_PWM_OUTPUT_PORTS 10 +#define MAX_PWM_OUTPUT_PORTS 6 #define DEFAULT_FEATURES \ (FEATURE_VBAT | FEATURE_TELEMETRY | FEATURE_CURRENT_METER | FEATURE_OSD | \