From 4e77e8a73db970d39096b833721d284a68ebbd36 Mon Sep 17 00:00:00 2001 From: Travis Goodspeed Date: Mon, 23 Apr 2018 14:58:36 -0400 Subject: [PATCH] Beep test moved to the Alarm applet. --- firmware/apps/alarm.c | 6 +++++- firmware/apps/clock.c | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/firmware/apps/alarm.c b/firmware/apps/alarm.c index 3ef773b..3acaf9d 100644 --- a/firmware/apps/alarm.c +++ b/firmware/apps/alarm.c @@ -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; diff --git a/firmware/apps/clock.c b/firmware/apps/clock.c index 4b91a49..7226655 100644 --- a/firmware/apps/clock.c +++ b/firmware/apps/clock.c @@ -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;