Commit 98f7549a authored by Dominic Clifton's avatar Dominic Clifton
Browse files

Fix `serial` command handling of telemetry baud rates. Set min blackbox

bad rate to be 19200 to match the confiurator.
parent ca22fb0e
......@@ -631,13 +631,13 @@ static void cliSerial(char *cmdline)
portConfig.gps_baudrateIndex = baudRateIndex;
break;
case 2:
if (baudRateIndex != BAUD_AUTO || baudRateIndex > BAUD_115200) {
if (baudRateIndex != BAUD_AUTO && baudRateIndex > BAUD_115200) {
continue;
}
portConfig.telemetry_baudrateIndex = baudRateIndex;
break;
case 3:
if (baudRateIndex < BAUD_9600 || baudRateIndex > BAUD_250000) {
if (baudRateIndex < BAUD_19200 || baudRateIndex > BAUD_250000) {
continue;
}
portConfig.blackbox_baudrateIndex = baudRateIndex;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment