diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-02 18:39:45 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-02 18:39:45 -0500 |
commit | cd405735351035df657b64547b3dfc6a3d59db56 (patch) | |
tree | 1cdd5e6b0d0434d20f71045178a1e5e7377eb56f /movement/watch_faces/settings | |
parent | 0004c30f422e702fd184a54e9f1d55da878bcd0f (diff) | |
parent | 35d1f5e647ac1b5fcccdb43ec58058587dd5301b (diff) | |
download | Sensor-Watch-cd405735351035df657b64547b3dfc6a3d59db56.tar.gz Sensor-Watch-cd405735351035df657b64547b3dfc6a3d59db56.tar.bz2 Sensor-Watch-cd405735351035df657b64547b3dfc6a3d59db56.zip |
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express
Diffstat (limited to 'movement/watch_faces/settings')
-rw-r--r-- | movement/watch_faces/settings/set_time_face.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/movement/watch_faces/settings/set_time_face.c b/movement/watch_faces/settings/set_time_face.c index f0e7dc6c..af5421f1 100644 --- a/movement/watch_faces/settings/set_time_face.c +++ b/movement/watch_faces/settings/set_time_face.c @@ -102,8 +102,8 @@ bool set_time_face_loop(movement_event_t event, movement_settings_t *settings, v sprintf(buf, "%s %2d%02d%02d", set_time_face_titles[current_page], date_time.unit.hour, date_time.unit.minute, date_time.unit.second); } else { sprintf(buf, "%s %2d%02d%02d", set_time_face_titles[current_page], (date_time.unit.hour % 12) ? (date_time.unit.hour % 12) : 12, date_time.unit.minute, date_time.unit.second); - if (date_time.unit.hour > 12) watch_set_indicator(WATCH_INDICATOR_PM); - else watch_clear_indicator(WATCH_INDICATOR_PM); + if (date_time.unit.hour < 12) watch_clear_indicator(WATCH_INDICATOR_PM); + else watch_set_indicator(WATCH_INDICATOR_PM); } } else if (current_page < 6) { watch_clear_colon(); |