1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

removing NAZE32PRO #ifdefs

This commit is contained in:
blckmn 2016-06-17 17:44:09 +10:00
parent 982275f277
commit e42f25aa82
2 changed files with 1 additions and 5 deletions

View file

@ -243,7 +243,7 @@ pwmOutputConfiguration_t *pwmInit(drv_pwm_config_t *init)
type = MAP_TO_SERVO_OUTPUT; type = MAP_TO_SERVO_OUTPUT;
#endif #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 // remap PWM 5+6 or 9+10 as servos - softserial pin pairs require timer ports that use the same timer
if (init->useSoftSerial) { if (init->useSoftSerial) {
if (timerIndex == PWM5 || timerIndex == PWM6) if (timerIndex == PWM5 || timerIndex == PWM6)

View file

@ -99,8 +99,6 @@
* @{ * @{
*/ */
#ifndef NAZE32PRO
#include "stm32f30x.h" #include "stm32f30x.h"
uint32_t hse_value = HSE_VALUE; uint32_t hse_value = HSE_VALUE;
@ -371,5 +369,3 @@ void SetSysClock(void)
*/ */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
#endif