1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Merge pull request #1227 from mmiers/local3.0.0

XRacerSPI
This commit is contained in:
borisbstyle 2016-10-02 01:01:25 +02:00 committed by GitHub
commit 63e6182ee5
5 changed files with 48 additions and 32 deletions

View file

@ -263,6 +263,7 @@ void init(void)
pwm_params.useUART2 = doesConfigurationUsePort(SERIAL_PORT_USART2);
#endif
#ifdef STM32F303xC
pwm_params.useUART2 = doesConfigurationUsePort(SERIAL_PORT_USART2);
pwm_params.useUART3 = doesConfigurationUsePort(SERIAL_PORT_USART3);
#endif
#if defined(USE_UART2) && defined(STM32F40_41xxx)
@ -396,7 +397,7 @@ void init(void)
}
#endif
#if defined(SPRACINGF3MINI) || defined(OMNIBUS)
#if defined(SPRACINGF3MINI) || defined(OMNIBUS) || defined(X_RACERSPI)
#if defined(SONAR) && defined(USE_SOFTSERIAL1)
if (feature(FEATURE_SONAR) && feature(FEATURE_SOFTSERIAL)) {
serialRemovePort(SERIAL_PORT_SOFTSERIAL1);