CC3D - fix cc3d build.
SERIAL_PORT_USART2 is undefined for CC3D.
This commit is contained in:
parent
249b09abce
commit
c5139fb9dc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue