1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

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.
This commit is contained in:
Hydra 2017-03-20 21:14:57 +00:00 committed by Dominic Clifton
parent 5a3bedccb2
commit 6783122bea

View file

@ -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 ),
};