Adjust stepsize for each bands

SW and FM: max  is 1000
MW and LW: max is 100
thus more user friendly.
This commit is contained in:
kevin
2023-06-14 22:20:20 +08:00
parent ee85dbaa56
commit ecb252b3d9

View File

@@ -854,7 +854,9 @@ void ButtonPress() {
if (counter - counterold < 1000) {
if (tunemode == 0) {
stepsize++;
if (stepsize > 4) stepsize = 0;
if (band == BAND_SW || band == BAND_FM) { if (stepsize > 4) stepsize = 0; }
else { if (stepsize > 3) stepsize = 0; }
if (screenmute == false) ShowStepSize();
EEPROM.writeByte(40, stepsize);