1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

CC3D - fix cc3d build.

SERIAL_PORT_USART2 is undefined for CC3D.
This commit is contained in:
Dominic Clifton 2014-11-22 01:16:07 +00:00
parent 249b09abce
commit c5139fb9dc

View file

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