Displaying power bars during TX when using SetPwr

This commit is contained in:
mrkusypl committed 2026-03-22 16:19:08 +01:00
1 parent 688b3a5c77
commit f4a32b4350
1 file changed
+8 -2
+8 -2
View File
@@ -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