Fixed mute symbol and audio VU during DX scanner
This commit is contained in:
+10
-2
@@ -883,7 +883,11 @@ void loop() {
|
|||||||
bool shouldScan = bypassMillisCheck || (!bypassMillisCheck && (millis() >= scantimer + waitTime));
|
bool shouldScan = bypassMillisCheck || (!bypassMillisCheck && (millis() >= scantimer + waitTime));
|
||||||
|
|
||||||
if (shouldScan) {
|
if (shouldScan) {
|
||||||
if (scanmute && scanholdonsignal) radio.setMute();
|
if (scanmute && scanholdonsignal) {
|
||||||
|
radio.setMute();
|
||||||
|
if (!screenmute) tft.drawBitmap(92, 4, Speaker, 26, 22, PrimaryColor);
|
||||||
|
SQ = true;
|
||||||
|
}
|
||||||
scanholdflag = false;
|
scanholdflag = false;
|
||||||
if (scanmem) {
|
if (scanmem) {
|
||||||
memorypos++;
|
memorypos++;
|
||||||
@@ -905,7 +909,11 @@ void loop() {
|
|||||||
scantimer = millis();
|
scantimer = millis();
|
||||||
initdxscan = false;
|
initdxscan = false;
|
||||||
} else {
|
} else {
|
||||||
if (scanmute && scanholdonsignal) radio.setUnMute();
|
if (scanmute && scanholdonsignal) {
|
||||||
|
radio.setUnMute();
|
||||||
|
SQ = false;
|
||||||
|
if (!screenmute) tft.drawBitmap(92, 4, Speaker, 26, 22, GreyoutColor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (millis() >= flashingtimer + 500) {
|
if (millis() >= flashingtimer + 500) {
|
||||||
|
|||||||
Reference in New Issue
Block a user