mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-05 12:37:29 +00:00
Add mic gauge
This commit is contained in:
1 parent
3f7d2e56d7
commit
9a46bdf6bf
1 file changed
+4
@@ -647,6 +647,10 @@ void UI_DisplayMenu(void)
|
||||
{ // display the mic gain in actual dB rather than just an index number
|
||||
const uint8_t mic = gMicGain_dB2[gSubMenuSelection];
|
||||
sprintf(String, "+%u.%udB", mic / 2, (mic % 2) * 5);
|
||||
|
||||
gaugeLine = 4;
|
||||
gaugeMin = 0;
|
||||
gaugeMax = 8;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user