fym 'int x; x = 1"?

This commit is contained in:
2026-01-04 22:02:18 +01:00
parent 22ec0a8c23
commit 2b87785e55
3 changed files with 104 additions and 139 deletions
+5 -3
View File
@@ -260,7 +260,6 @@ int BWAutoColor;
int BWAutoColorSmooth;
int BWOld;
int bwupdatetimer;
int DeEmphasis;
int DisplayedSegments;
int ForceMono;
int FrameColor;
@@ -2472,6 +2471,8 @@ void doStereoToggle() {
Stereostatusold = false;
StereoToggle = true;
}
radio.setAudio(audiomode);
EEPROM.writeByte(EE_BYTE_AUDIOMODE, audiomode);
EEPROM.writeByte(EE_BYTE_STEREO, StereoToggle);
EEPROM.commit();
}
@@ -3597,10 +3598,11 @@ void ShowModLevel() {
}
void showAutoSquelch(bool mode) {
int16_t size = SquelchSprite.textWidth("--");
if (mode) {
tft.drawBitmap(223, 145, AutoSQ, 18, 18, PrimaryColor);
tft.drawBitmap(223, 147, AutoSQ, size, size, PrimaryColor);
} else {
tft.drawBitmap(223, 145, AutoSQ, 18, 18, BackgroundColor);
tft.drawBitmap(223, 147, AutoSQ, size, size, BackgroundColor);
}
}