From d8bb1e8b9742dd0b0d900cd692cfd3076dfd6817 Mon Sep 17 00:00:00 2001 From: jflyper Date: Sun, 27 Nov 2016 20:17:27 +0900 Subject: [PATCH] AIRBOT F4 S6_OUT is PA8 --- src/main/target/REVO/target.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/REVO/target.c b/src/main/target/REVO/target.c index 31a059a1df..7fdb925d9e 100644 --- a/src/main/target/REVO/target.c +++ b/src/main/target/REVO/target.c @@ -39,6 +39,10 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { DEF_TIM(TIM4, CH1, PB6, TIM_USE_LED, 0, 0), // LED for REVOLT D1_ST0 #else DEF_TIM(TIM5, CH2, PA1, TIM_USE_MOTOR | TIM_USE_LED, 1, 0), // S5_OUT / LED for REVO D1_ST4 +#ifdef AIRBOTF4 + DEF_TIM(TIM1, CH1, PA8, TIM_USE_MOTOR, 1, 0), // S6_OUT +#else DEF_TIM(TIM5, CH1, PA0, TIM_USE_MOTOR, 1, 0), // S6_OUT D1_ST2 #endif +#endif };