Fix a problem where sometimes audio was not unmuted after DX scan was canceled
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user