From 6783122bea49a2ee64b509627d8d8057f800a7cb Mon Sep 17 00:00:00 2001 From: Hydra Date: Mon, 20 Mar 2017 21:14:57 +0000 Subject: [PATCH] CF/BF - SPRACINGF3NEO - Fix incorrect LED strip output pin. Allow LED and transponder even when DSHOT is compiled. Enabling LED_STRIP and/or TRANSPONDER will break DSHOT on motor outputs 1 and 3. Without DSHOT, LED_STRIP and TRANSPONDER work fine, at the same time. --- src/main/target/SPRACINGF3NEO/target.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/target/SPRACINGF3NEO/target.c b/src/main/target/SPRACINGF3NEO/target.c index 275deee7e1..206423d8c8 100755 --- a/src/main/target/SPRACINGF3NEO/target.c +++ b/src/main/target/SPRACINGF3NEO/target.c @@ -53,11 +53,9 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { DEF_TIM(TIM2, CH3, PB10, TIM_USE_MOTOR, 1 ), // PWM3 - PB10 - *TIM2_CH3, UART3_TX (AF7) DEF_TIM(TIM2, CH4, PB11, TIM_USE_MOTOR, 1 ), // PWM4 - PB11 - *TIM2_CH4, UART3_RX (AF7) -#ifndef USE_DSHOT // with DSHOT DMA1-CH3 conflicts with TIM3_CH4 / ESC1. DEF_TIM(TIM16, CH1, PB8, TIM_USE_TRANSPONDER, 0 ), - // with DSHOT TIM8 is used for DSHOT and cannot be used for LED too. - DEF_TIM(TIM8, CH1, PA15, TIM_USE_LED, 0 ), -#endif + + DEF_TIM(TIM1, CH1, PA8, TIM_USE_LED, 0 ), };