mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-22 16:59:57 +00:00
Beep test moved to the Alarm applet.
This commit is contained in:
parent
f5cc34084e
commit
4e77e8a73d
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user