mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Displaying power bars during TX when using SetPwr
This commit is contained in:
1 parent
688b3a5c77
commit
f4a32b4350
1 file changed
+8
-2
+8
-2
@@ -1157,9 +1157,15 @@ void UI_DisplayMain(void)
|
||||
Level = 2;
|
||||
}
|
||||
*/
|
||||
Level = gRxVfo->OUTPUT_POWER - 1;
|
||||
|
||||
uint8_t currentPower = gRxVfo->OUTPUT_POWER;
|
||||
|
||||
if(currentPower == OUTPUT_POWER_USER)
|
||||
Level = gSetting_set_pwr;
|
||||
else
|
||||
Level = currentPower - 1;
|
||||
}
|
||||
else
|
||||
else
|
||||
if (mode == VFO_MODE_RX)
|
||||
{ // RX signal level
|
||||
#ifndef ENABLE_RSSI_BAR
|
||||
|
||||
Reference in new issue
Block a user