Fix a problem where sometimes audio was not unmuted after DX scan was canceled

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-04-12 11:02:43 +02:00
parent 2212e3bafd
commit a501b7207c
+11
View File
@@ -4313,6 +4313,17 @@ void UpdateFonts(bool mode) {
void cancelDXScan() {
tunemode = scanmodeold;
scandxmode = false;
if (scanmute) {
radio.setUnMute();
if (CurrentSkin == 1) {
tft.pushImage (106, 3, 27, 23, skin1_muteoff);
} else {
tft.drawBitmap(92, 4, Speaker, 26, 22, GreyoutColor);
}
SQ = false;
Squelchold = -2;
}
ShowTuneMode();
ShowMemoryPos();
}