1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

Fix GPS UART representation (status command) (#14193)

Fix GPS UART representation
This commit is contained in:
Mark Haslinghuis 2025-01-23 23:03:00 +01:00 committed by GitHub
parent ae8d57bb06
commit 9db36f66d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4851,7 +4851,7 @@ if (buildKey) {
if (!gpsPortConfig) {
cliPrint("NO PORT, ");
} else {
cliPrintf("UART%d %ld (set to ", (gpsPortConfig->identifier + 1), baudRates[getGpsPortActualBaudRateIndex()]);
cliPrintf("%s %ld (set to ", serialName(gpsPortConfig->identifier, invalidName), baudRates[getGpsPortActualBaudRateIndex()]);
if (gpsConfig()->autoBaud == GPS_AUTOBAUD_ON) {
cliPrint("AUTO");
} else {