From 556bf92d1fa2f3ccbc90aa81f7857cb99a029295 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:23:42 -0500 Subject: [PATCH 1/2] [target] JHEF411HD add LED0 PIN (#1083) --- src/main/target/JHEF411HD/target.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/target/JHEF411HD/target.h b/src/main/target/JHEF411HD/target.h index 773b270827..89449a8620 100644 --- a/src/main/target/JHEF411HD/target.h +++ b/src/main/target/JHEF411HD/target.h @@ -44,6 +44,7 @@ #define USE_OSD #define LED_STRIP_PIN PA8 +#define LED0_PIN PC13 #define USE_BEEPER #define BEEPER_PIN PB2 #define BEEPER_INVERTED From 301eb2251f6efff596cfa35bfa9a28c8791a3b70 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Mon, 7 Oct 2024 13:09:33 -0500 Subject: [PATCH 2/2] [targets] TMOTORF7 / TMOTORF7_AIO - fix motor3 timer/channel (#1082) * [targets] TMOTORF7 / TMOTORF7_AIO - fix motor3 timer/channel * fix commas --- src/main/target/TMOTORF7/target.c | 2 +- src/main/target/TMOTORF7_AIO/target.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/target/TMOTORF7/target.c b/src/main/target/TMOTORF7/target.c index ecaa7704b1..2a112976a5 100644 --- a/src/main/target/TMOTORF7/target.c +++ b/src/main/target/TMOTORF7/target.c @@ -27,7 +27,7 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { DEF_TIM(TIM3, CH1, PC6, TIM_USE_MOTOR, 0, 0), // motor 1 DEF_TIM(TIM3, CH2, PC7, TIM_USE_MOTOR, 0, 0), // motor 2 - DEF_TIM(TIM8, CH2N, PB0, TIM_USE_MOTOR, 0, 0), // motor 3 + DEF_TIM(TIM3, CH3, PB0, TIM_USE_MOTOR, 0, 0), // motor 3 DEF_TIM(TIM3, CH4, PB1, TIM_USE_MOTOR, 0, 0), // motor 4 DEF_TIM(TIM4, CH1, PB6, TIM_USE_MOTOR, 0, 0), // motor 5 DEF_TIM(TIM4, CH3, PB8, TIM_USE_MOTOR, 0, 0), // motor 6 diff --git a/src/main/target/TMOTORF7_AIO/target.c b/src/main/target/TMOTORF7_AIO/target.c index 17971e789b..c171e1872e 100644 --- a/src/main/target/TMOTORF7_AIO/target.c +++ b/src/main/target/TMOTORF7_AIO/target.c @@ -32,7 +32,7 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { DEF_TIM(TIM3, CH1, PC6, TIM_USE_MOTOR, 0, 0), // motor 1 DEF_TIM(TIM3, CH2, PC7, TIM_USE_MOTOR, 0, 0), // motor 2 - DEF_TIM(TIM8, CH2N, PB0, TIM_USE_MOTOR, 0, 0), // motor 3 + DEF_TIM(TIM3, CH3, PB0, TIM_USE_MOTOR, 0, 0), // motor 3 DEF_TIM(TIM3, CH4, PB1, TIM_USE_MOTOR, 0, 0), // motor 4 DEF_TIM(TIM4, CH1, PB6, TIM_USE_MOTOR, 0, 0), // motor 5 DEF_TIM(TIM4, CH3, PB8, TIM_USE_MOTOR, 0, 0), // motor 6