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

quick fix

it is impossible to build some targets. This is quick fix to get it working again
This commit is contained in:
Petr Ledvina 2014-10-23 16:32:16 +02:00
parent fd32ad6fcb
commit e58afe9d64
3 changed files with 12 additions and 3 deletions

View file

@ -287,8 +287,9 @@ void init(void)
pwm_params.airplane = true;
else
pwm_params.airplane = false;
#ifdef STM32F10X
pwm_params.useUART2 = doesConfigurationUsePort(SERIAL_PORT_USART2);
#endif
pwm_params.useVbat = feature(FEATURE_VBAT);
pwm_params.useSoftSerial = feature(FEATURE_SOFTSERIAL);
pwm_params.useParallelPWM = feature(FEATURE_RX_PARALLEL_PWM);