Skip to content

Commit

Permalink
lucid: remove in-accessible servo pins
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Sep 3, 2024
1 parent dac34ae commit 3f9f70f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions src/main/target/TBS_LUCID_FC/target.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
2 changes: 1 addition & 1 deletion src/main/target/TBS_LUCID_FC/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 | \
Expand Down

0 comments on commit 3f9f70f

Please sign in to comment.