diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2023-08-27 17:53:02 -0400 |
---|---|---|
committer | joeycastillo <joeycastillo@utexas.edu> | 2023-08-27 17:53:02 -0400 |
commit | e4ad0e5567782015dbccdbc15ab26b67da3ef56e (patch) | |
tree | 1917de10ca167eace0c04632dad78aa0fd1908e6 | |
parent | 1cb5d00aafefb31603d74e294bfe75ae641ce58a (diff) | |
download | Sensor-Watch-e4ad0e5567782015dbccdbc15ab26b67da3ef56e.tar.gz Sensor-Watch-e4ad0e5567782015dbccdbc15ab26b67da3ef56e.tar.bz2 Sensor-Watch-e4ad0e5567782015dbccdbc15ab26b67da3ef56e.zip |
default year to 2023
-rwxr-xr-x | watch-library/hardware/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/watch-library/hardware/main.c b/watch-library/hardware/main.c index d1eee168..325610f6 100755 --- a/watch-library/hardware/main.c +++ b/watch-library/hardware/main.c @@ -66,10 +66,10 @@ int main(void) { // Watch library code. Set initial parameters for the device and enable the RTC. _watch_init(); - // if date/time register is 0 (power on reset state), default year to 2022. + // if date/time register is 0 (power on reset state), default year to 2023. watch_date_time date_time = watch_rtc_get_date_time(); if (date_time.reg == 0) { - date_time.unit.year = 2; + date_time.unit.year = 3; watch_rtc_set_date_time(date_time); } |