From cb69a2c181a3126ade2044f223b74077f48e0c77 Mon Sep 17 00:00:00 2001 From: TheOnePerson Date: Wed, 26 Oct 2022 04:57:53 +0200 Subject: Add an Alarm face to movement (#96) * Add movement_play_alarm_beeps() to movement.c and make alarm sounds customizable. Add alarm indicator to simple watch face. * Add alarm face * alarm_face: fix problem with disabling alarms for 00:00. * Fix typos in comments and get rid of of unused variable warning * remove unnecessary constant * simple_clock_face: fix disappearing chime indicator after face switch, enable alarm indicator updates in app loop (for one-time alarms). movement: handle situations where watch is in sleep mode and chimes fire off at the same time as alarms properly. * alarm_face: tweak process of displaying things on the lcd. Add extra long and extra short alarms. Increase number of alarm slots to 16. * alarm face: fix alarms playing one beeping round more than set. * alarm face: add proper quick cycling of hour and minute setting * alarm-face: correct am/pm indication and some minor tweaks. Reset movement_config.h to current main branch. simple-watch-face: Remove unnecessary check and swap indicators (alarm / hourly chime) * alarm-face: reverse commit parts from another branch (accidentially commited logic depending on movement firmware auto firing the long press event) Co-authored-by: joeycastillo --- movement/movement_faces.h | 1 + 1 file changed, 1 insertion(+) (limited to 'movement/movement_faces.h') diff --git a/movement/movement_faces.h b/movement/movement_faces.h index 35931028..9aa5e6ca 100644 --- a/movement/movement_faces.h +++ b/movement/movement_faces.h @@ -55,6 +55,7 @@ #include "probability_face.h" #include "wake_face.h" #include "frequency_correction_face.h" +#include "alarm_face.h" #include "ratemeter_face.h" // New includes go above this line. -- cgit v1.2.3