mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
show power level in the smartaudio cms menu (#8064)
show power level in the smartaudio cms menu
This commit is contained in:
parent
a7968c754d
commit
0749d3079c
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ if (saDevice.version == 2) {
|
||||||
saCmsStatusString[13] = 0;
|
saCmsStatusString[13] = 0;
|
||||||
} else {
|
} else {
|
||||||
int index = (saDevice.version == 2) ? saDevice.power : saDacToPowerIndex(saDevice.power);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue