1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

show power level in the smartaudio cms menu (#8064)

show power level in the smartaudio cms menu
This commit is contained in:
Michael Keller 2019-04-28 12:39:57 +12:00 committed by mikeller
parent a7968c754d
commit 0749d3079c

View file

@ -179,7 +179,7 @@ if (saDevice.version == 2) {
saCmsStatusString[13] = 0;
} else {
int index = (saDevice.version == 2) ? saDevice.power : saDacToPowerIndex(saDevice.power);
tfp_sprintf(&saCmsStatusString[10], "%3d", vtxCommonLookupPowerName(vtxCommonDevice(), index + 1));
tfp_sprintf(&saCmsStatusString[10], "%s", vtxCommonLookupPowerName(vtxCommonDevice(), index + 1));
}
}