validation of already initialized BT #4191
This commit is contained in:
parent
06e725e0f7
commit
b0e451880a
|
@ -119,8 +119,10 @@ static void runCommands() {
|
||||||
chThdSleepMilliseconds(10); // safety
|
chThdSleepMilliseconds(10); // safety
|
||||||
|
|
||||||
if (chThdShouldTerminateX() || (baudIdx == efi::size(baudRates))) {
|
if (chThdShouldTerminateX() || (baudIdx == efi::size(baudRates))) {
|
||||||
if (baudIdx == efi::size(baudRates))
|
if (baudIdx == efi::size(baudRates)) {
|
||||||
efiPrintf("Failed to find current BT module baudrate");
|
efiPrintf("Failed to find current BT module baudrate");
|
||||||
|
return;
|
||||||
|
}
|
||||||
tsChannel->start(engineConfiguration->tunerStudioSerialSpeed);
|
tsChannel->start(engineConfiguration->tunerStudioSerialSpeed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue