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

Fix PWM/UART2 clash on F1 targets caused by using wrong #define value.

This commit is contained in:
Dominic Clifton 2015-02-12 01:58:59 +00:00
parent 519cc5f238
commit d12d1952eb
2 changed files with 2 additions and 2 deletions

View file

@ -295,7 +295,7 @@ void init(void)
pwm_params.airplane = true;
else
pwm_params.airplane = false;
#if defined(SERIAL_PORT_USART2) && defined(STM32F10X)
#if defined(USE_USART2) && defined(STM32F10X)
pwm_params.useUART2 = doesConfigurationUsePort(SERIAL_PORT_USART2);
#endif
pwm_params.useVbat = feature(FEATURE_VBAT);