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:
parent
982275f277
commit
e42f25aa82
2 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue