Beep test moved to the Alarm applet.

This commit is contained in:
Travis Goodspeed 2018-04-23 14:58:36 -04:00
parent f5cc34084e
commit 4e77e8a73d
2 changed files with 5 additions and 5 deletions

View File

@ -182,12 +182,16 @@ int alarm_keypress(char ch){
}
} else {
switch(ch){
case '4':
case '4': //Toggle the alarm.
if (alarm_enabled())
toggle_alarm(0);
else
toggle_alarm(1);
break;
case '.': // beep a little
tone(2048, 250);
break;
}
}
return 1;

View File

@ -366,10 +366,6 @@ int clock_keypress(char ch){
//6 toggles the CPU load indicator.
flickermode=(flickermode?0:-1);
break;
case '.':
// beep a little
tone(2048, 250);
break;
}
}
return 1;