From e9cf936661a835dc635df1dfb2d3e99600d0799d Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Mon, 6 Jul 2026 16:04:56 +0200 Subject: [PATCH] Mute: remove the mode-text strike-through, keep the header "M" Drop the built-in strike-through over the FM/DMR mode text when muted; the header "M" (and red LED flash) are the mute indicators now. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../application/source/user_interface/uiUtilities.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/MDUV380_firmware/application/source/user_interface/uiUtilities.c b/MDUV380_firmware/application/source/user_interface/uiUtilities.c index c5234e1..d01a446 100644 --- a/MDUV380_firmware/application/source/user_interface/uiUtilities.c +++ b/MDUV380_firmware/application/source/user_interface/uiUtilities.c @@ -2000,10 +2000,7 @@ void uiUtilityRenderHeader(bool isVFODualWatchScanning, bool isVFOSweepScanning, displayPrintCore(MODE_TEXT_X_OFFSET, DISPLAY_Y_POS_HEADER, buffer, (((nonVolatileSettings.hotspotType != HOTSPOT_TYPE_OFF) && (uiDataGlobal.dmrDisabled == false)) ? FONT_SIZE_1_BOLD : FONT_SIZE_1), TEXT_ALIGN_LEFT, isInverted); - if (audioIsMuted) - { - displayDrawFastHLine(MODE_TEXT_X_OFFSET, (DISPLAY_Y_POS_HEADER + (FONT_SIZE_1_HEIGHT >> 1)), modePixelLen, !isInverted); - } + // (mute is shown by the header "M" indicator, not a strike-through) } if ((aprsIsTransmittingOnSameQRG == false) && (monitorModeData.isEnabled == false) && (isVFOSweepScanning == false) && (isVFODualWatchScanning == false) && @@ -2071,10 +2068,7 @@ void uiUtilityRenderHeader(bool isVFODualWatchScanning, bool isVFOSweepScanning, displayPrintCore(MODE_TEXT_X_OFFSET, DISPLAY_Y_POS_HEADER, (isVFODualWatchScanning ? "[DW]" : "DMR"), ((nonVolatileSettings.hotspotType != HOTSPOT_TYPE_OFF) ? FONT_SIZE_1_BOLD : FONT_SIZE_1), TEXT_ALIGN_LEFT, isInverted); - if (audioIsMuted) - { - displayDrawFastHLine(MODE_TEXT_X_OFFSET, (DISPLAY_Y_POS_HEADER + (FONT_SIZE_1_HEIGHT >> 1)), (6 * (isVFODualWatchScanning ? 4 : 3)), !isInverted); - } + // (mute is shown by the header "M" indicator, not a strike-through) } if (isVFODualWatchScanning == false)