diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-05-02 23:31:07 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-05-02 23:31:07 -0400 |
commit | 471bdc60c0d38459702888c722a10f2ed1a8379b (patch) | |
tree | 2e50fa4bc051d3b5e8eef0abd021e7a80ca64f88 /Smol Watch Project/My Project/mars_clock.c | |
parent | 88a38cc2352c2bd0ad2733093796f3d424ebcc9c (diff) | |
download | Sensor-Watch-471bdc60c0d38459702888c722a10f2ed1a8379b.tar.gz Sensor-Watch-471bdc60c0d38459702888c722a10f2ed1a8379b.tar.bz2 Sensor-Watch-471bdc60c0d38459702888c722a10f2ed1a8379b.zip |
sunday low power work
Diffstat (limited to 'Smol Watch Project/My Project/mars_clock.c')
-rw-r--r-- | Smol Watch Project/My Project/mars_clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Smol Watch Project/My Project/mars_clock.c b/Smol Watch Project/My Project/mars_clock.c index ad7562e9..82a47d08 100644 --- a/Smol Watch Project/My Project/mars_clock.c +++ b/Smol Watch Project/My Project/mars_clock.c @@ -12,6 +12,6 @@ void update_display(Watch *watch, struct calendar_date_time date_time) { char buf[6]; - sprintf(&buf[0], "TE %02d%02d", date_time.time.hour, date_time.time.min); + sprintf(&buf[0], "TE %02d%02d%02d", date_time.time.hour, date_time.time.min, date_time.time.sec); watch_display_string(watch, buf, 0); } |