From e42f25aa824043a31ca887ec0c0744e724620642 Mon Sep 17 00:00:00 2001 From: blckmn Date: Fri, 17 Jun 2016 17:44:09 +1000 Subject: [PATCH] removing NAZE32PRO #ifdefs --- src/main/drivers/pwm_mapping.c | 2 +- src/main/target/system_stm32f30x.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/drivers/pwm_mapping.c b/src/main/drivers/pwm_mapping.c index ffba5063b5..df6bd2019c 100755 --- a/src/main/drivers/pwm_mapping.c +++ b/src/main/drivers/pwm_mapping.c @@ -243,7 +243,7 @@ pwmOutputConfiguration_t *pwmInit(drv_pwm_config_t *init) type = MAP_TO_SERVO_OUTPUT; #endif -#if defined(NAZE32PRO) || (defined(STM32F3DISCOVERY) && !defined(CHEBUZZF3)) +#if (defined(STM32F3DISCOVERY) && !defined(CHEBUZZF3)) // remap PWM 5+6 or 9+10 as servos - softserial pin pairs require timer ports that use the same timer if (init->useSoftSerial) { if (timerIndex == PWM5 || timerIndex == PWM6) diff --git a/src/main/target/system_stm32f30x.c b/src/main/target/system_stm32f30x.c index 28a64d8e0c..78274ac322 100644 --- a/src/main/target/system_stm32f30x.c +++ b/src/main/target/system_stm32f30x.c @@ -99,8 +99,6 @@ * @{ */ -#ifndef NAZE32PRO - #include "stm32f30x.h" uint32_t hse_value = HSE_VALUE; @@ -371,5 +369,3 @@ void SetSysClock(void) */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - -#endif