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:
parent
519cc5f238
commit
d12d1952eb
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue