do not start if secondary serial not configured - give user a chance to use same peripheral for kline
only:proteus_f4
This commit is contained in:
parent
469ba23b88
commit
eff233b346
|
@ -90,7 +90,10 @@ void startSerialChannels() {
|
|||
#endif
|
||||
|
||||
#if defined(TS_SECONDARY_UxART_PORT)
|
||||
secondaryChannelThread.start();
|
||||
// do not start thread if not configured - give user a chance to use same peripheral for kline
|
||||
if (isBrainPinValid(engineConfiguration->binarySerialTxPin)) {
|
||||
secondaryChannelThread.start();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue