mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Fix space in status output when gps version is unknown (#13423)
* Fix space in status output when gps version is unknown * Refactor per review
This commit is contained in:
parent
a0c0e191e1
commit
6d98dbb742
1 changed files with 1 additions and 6 deletions
|
@ -4820,12 +4820,7 @@ if (buildKey) {
|
||||||
cliPrint("configured");
|
cliPrint("configured");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (gpsData.platformVersion != UBX_VERSION_UNDEF) {
|
cliPrintf(", version = %s", gpsData.platformVersion != UBX_VERSION_UNDEF ? ubloxVersionMap[gpsData.platformVersion].str : "unknown");
|
||||||
cliPrint(", version = ");
|
|
||||||
cliPrintf("%s", ubloxVersionMap[gpsData.platformVersion].str);
|
|
||||||
} else {
|
|
||||||
cliPrint("unknown");
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
cliPrint("NOT ENABLED");
|
cliPrint("NOT ENABLED");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue