diff options
author | David Keck <davidskeck@users.noreply.github.com> | 2022-01-19 12:06:12 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 12:06:12 -0600 |
commit | 7de76465d78ab9bf28264e91fa83b7f3248871ce (patch) | |
tree | e2cd9a9a6eb48d8ef1fd62db4ef53a2165a954e6 /movement/watch_faces/clock | |
parent | 138b3d0c5e4c9bd32adef17c83981b180c676969 (diff) | |
download | Sensor-Watch-7de76465d78ab9bf28264e91fa83b7f3248871ce.tar.gz Sensor-Watch-7de76465d78ab9bf28264e91fa83b7f3248871ce.tar.bz2 Sensor-Watch-7de76465d78ab9bf28264e91fa83b7f3248871ce.zip |
Simple Clock: Update to signal exactly on the hour
I was getting the buzzer at 59 minutes past the hour, not exactly on the hour. This changes to buzzing at exactly HOUR:00:00. Tested this locally.
Diffstat (limited to 'movement/watch_faces/clock')
-rw-r--r-- | movement/watch_faces/clock/simple_clock_face.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/watch_faces/clock/simple_clock_face.c b/movement/watch_faces/clock/simple_clock_face.c index b7d8c88f..60a7a4db 100644 --- a/movement/watch_faces/clock/simple_clock_face.c +++ b/movement/watch_faces/clock/simple_clock_face.c @@ -143,5 +143,5 @@ bool simple_clock_face_wants_background_task(movement_settings_t *settings, void watch_date_time date_time = watch_rtc_get_date_time(); - return date_time.unit.minute == 59; + return date_time.unit.minute == 0; } |