From f4a32b4350589de7fac846c92afe71cc520b4eba Mon Sep 17 00:00:00 2001 From: mrkusypl Date: Sun, 22 Mar 2026 16:19:08 +0100 Subject: [PATCH] Displaying power bars during TX when using SetPwr --- App/ui/main.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/App/ui/main.c b/App/ui/main.c index 153303b2..e49a8a6a 100644 --- a/App/ui/main.c +++ b/App/ui/main.c @@ -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