From 8aca20d02cc0735667b0920d7639f961076bf4dd Mon Sep 17 00:00:00 2001 From: jflyper Date: Mon, 5 Dec 2016 15:59:13 +0900 Subject: [PATCH] Trying to make nested ifdefs look nice --- src/main/target/REVO/target.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/target/REVO/target.c b/src/main/target/REVO/target.c index a4e90641a..36471cee3 100644 --- a/src/main/target/REVO/target.c +++ b/src/main/target/REVO/target.c @@ -43,10 +43,10 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { DEF_TIM(TIM2, CH4, PA3, TIM_USE_MOTOR, 1, 1), // S3_OUT D1_ST6 DEF_TIM(TIM2, CH3, PA2, TIM_USE_MOTOR, 1, 0), // S4_OUT D1_ST1 DEF_TIM(TIM5, CH2, PA1, TIM_USE_MOTOR | TIM_USE_LED, 1, 0), // S5_OUT / LED for REVO D1_ST4 -# ifdef AIRBOTF4 + #ifdef AIRBOTF4 DEF_TIM(TIM1, CH1, PA8, TIM_USE_MOTOR, 1, 0), // S6_OUT -# else + #else DEF_TIM(TIM5, CH1, PA0, TIM_USE_MOTOR, 1, 0), // S6_OUT D1_ST2 -# endif + #endif #endif };