mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
SPRacingF3 - Allow SoftSerial1 (CH5/6) to be used when Sonar is used
(CH7/8).
This commit is contained in:
parent
2436ccbaf5
commit
d26a2ceef2
1 changed files with 7 additions and 0 deletions
|
@ -311,6 +311,13 @@ void init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(SPRACINGF3) && defined(SONAR) && defined(USE_SOFTSERIAL2)
|
||||
if (feature(FEATURE_SONAR) && feature(FEATURE_SOFTSERIAL)) {
|
||||
serialRemovePort(SERIAL_PORT_SOFTSERIAL2);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef USE_I2C
|
||||
#if defined(NAZE)
|
||||
if (hardwareRevision != NAZE32_SP) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue