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:
parent
5a3bedccb2
commit
6783122bea
1 changed files with 2 additions and 4 deletions
|
@ -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 ),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue