Version 1.3.3 Tone Repeats bug fix.

This commit is contained in:
GuruSR 2021-11-27 09:33:02 -05:00 committed by GitHub
parent 18ff83b377
commit b1d30398e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1446,7 +1446,7 @@ void WatchyGSR::handleButtonPress(uint8_t Pressed){
SetTurbo();
}
}else if (Menu.Item == MENU_TONES){ // Tones.
Options.MasterRepeats = clamp(Options.MasterRepeats + 1, (WatchTime.DeadRTC ? 4 : 0), 4);
Options.MasterRepeats = roller(Options.MasterRepeats + 1, (WatchTime.DeadRTC ? 4 : 0), 4);
Alarms_Repeats[0] = Options.MasterRepeats;
Alarms_Repeats[1] = Options.MasterRepeats;
Alarms_Repeats[2] = Options.MasterRepeats;