diff options
author | Jeremy O'Brien <neutral@fastmail.com> | 2023-02-10 22:30:26 -0500 |
---|---|---|
committer | Jeremy O'Brien <neutral@fastmail.com> | 2023-02-10 22:30:26 -0500 |
commit | faa860f83d7730c33dbbbd572f43b42b5a11ba0d (patch) | |
tree | 2fafab2d2a94f325916b04c8820356b4da808d92 | |
parent | 59ff5492356013196c9c283c8e237b9d2db584a9 (diff) | |
download | Sensor-Watch-faa860f83d7730c33dbbbd572f43b42b5a11ba0d.tar.gz Sensor-Watch-faa860f83d7730c33dbbbd572f43b42b5a11ba0d.tar.bz2 Sensor-Watch-faa860f83d7730c33dbbbd572f43b42b5a11ba0d.zip |
fix compile warning in day one face
-rw-r--r-- | movement/watch_faces/complication/day_one_face.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/watch_faces/complication/day_one_face.c b/movement/watch_faces/complication/day_one_face.c index 7ce43bfa..25ce1c23 100644 --- a/movement/watch_faces/complication/day_one_face.c +++ b/movement/watch_faces/complication/day_one_face.c @@ -33,7 +33,7 @@ static uint32_t _day_one_face_juliandaynum(uint16_t year, uint16_t month, uint16 } static void _day_one_face_update(day_one_state_t state) { - char buf[14]; + char buf[15]; watch_date_time date_time = watch_rtc_get_date_time(); uint32_t julian_date = _day_one_face_juliandaynum(date_time.unit.year + WATCH_RTC_REFERENCE_YEAR, date_time.unit.month, date_time.unit.day); uint32_t julian_birthdate = _day_one_face_juliandaynum(state.birth_year, state.birth_month, state.birth_day); |