Merge pull request #7149 from robertlacroix/kisscc-tlm-serial
KISSCC: Fix soft serial on TLM pad
This commit is contained in:
commit
dc8eafa46e
|
@ -36,7 +36,6 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = {
|
|||
|
||||
DEF_TIM(TIM3, CH1, PA6, TIM_USE_MOTOR, 0),
|
||||
DEF_TIM(TIM17, CH1, PA7, TIM_USE_MOTOR, 0),
|
||||
DEF_TIM(TIM16, CH1N, PA13, TIM_USE_PWM, 0),
|
||||
#else
|
||||
DEF_TIM(TIM1, CH2N, PB14, TIM_USE_MOTOR, TIMER_OUTPUT_INVERTED),
|
||||
DEF_TIM(TIM8, CH2N, PB0, TIM_USE_MOTOR, TIMER_OUTPUT_INVERTED),
|
||||
|
@ -44,8 +43,8 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = {
|
|||
DEF_TIM(TIM1, CH1, PA8, TIM_USE_MOTOR, TIMER_OUTPUT_INVERTED),
|
||||
DEF_TIM(TIM3, CH1, PA6, TIM_USE_MOTOR | TIM_USE_LED, TIMER_OUTPUT_INVERTED),
|
||||
DEF_TIM(TIM17, CH1, PA7, TIM_USE_MOTOR, TIMER_OUTPUT_INVERTED),
|
||||
DEF_TIM(TIM4, CH3, PA13, TIM_USE_PWM, 0), // On KISSFC TIM16 did not work, using TIM4 works
|
||||
#endif
|
||||
DEF_TIM(TIM4, CH3, PA13, TIM_USE_PWM, 0),
|
||||
DEF_TIM(TIM2, CH2, PB3, TIM_USE_PWM | TIM_USE_PPM, 0),
|
||||
DEF_TIM(TIM2, CH1, PA15, TIM_USE_PWM, 0),
|
||||
DEF_TIM(TIM2, CH3, PA2, TIM_USE_PWM, 0),
|
||||
|
|
|
@ -83,10 +83,8 @@
|
|||
#define UART3_TX_PIN PB10 // PB10 (AF7)
|
||||
#define UART3_RX_PIN PB11 // PB11 (AF7)
|
||||
|
||||
#ifdef KISSCC
|
||||
#define SOFTSERIAL1_TX_PIN PA13
|
||||
#else
|
||||
#define SOFTSERIAL1_TX_PIN PA13 // AUX1
|
||||
#define SOFTSERIAL1_TX_PIN PA13 // KISSFC: AUX1, KISSCC: TLM
|
||||
#if !defined(KISSCC)
|
||||
#define SOFTSERIAL2_TX_PIN PA15 // ROLL
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue