diff options
author | ConfuSomu | 2021-05-29 21:03:47 -0400 |
---|---|---|
committer | ConfuSomu | 2021-05-29 21:03:47 -0400 |
commit | d8540146e5f5bbbf4995c16740095973d03e4ca9 (patch) | |
tree | 7d6f2499b8940e7b6f233e6b66d03f286041cf29 | |
parent | b02cd462dce7095d55def3a014fe51eddc238088 (diff) | |
download | pico-watch-d8540146e5f5bbbf4995c16740095973d03e4ca9.tar pico-watch-d8540146e5f5bbbf4995c16740095973d03e4ca9.tar.gz pico-watch-d8540146e5f5bbbf4995c16740095973d03e4ca9.zip |
Fix incorrect default value when setting day
Did a small oversight where I wrote "month" instead of "day".
-rw-r--r-- | apps/settings/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/main.cpp b/apps/settings/main.cpp index f10a65b..b5df223 100644 --- a/apps/settings/main.cpp +++ b/apps/settings/main.cpp @@ -76,7 +76,7 @@ namespace app_settings { case 5: // Day max_value = 31; // FIXME: Depends on month! min_value = 1; - default_value = datetime.month; + default_value = datetime.day; break; case 7: // Apply and exit app_api->datetime_set(&datetime); |