diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-03-30 08:53:40 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-03-30 09:05:28 -0400 |
commit | 43830d0128ed9483db769f0d29f3d6071e620144 (patch) | |
tree | 0597df9d45dcc8bc1e2ae276c66af1226b4e54c0 /apps/menus | |
parent | 4c1fe3a89963f4b2576e68d519d168a3d510cb75 (diff) | |
download | rockbox-43830d0128ed9483db769f0d29f3d6071e620144.tar.gz rockbox-43830d0128ed9483db769f0d29f3d6071e620144.zip |
alarm_menu share setter with settime
share the time picker with the alarm
block the date portion, seconds are ignored
Change-Id: Idc6974466772c33248ff532c8f3c62c744ee06d9
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/time_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index 674279c01a..e37e2b5637 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c | |||
@@ -73,7 +73,7 @@ static int timedate_set(void) | |||
73 | tm.tm_year = YEAR-1900; | 73 | tm.tm_year = YEAR-1900; |
74 | } | 74 | } |
75 | 75 | ||
76 | result = (int)set_time_screen(str(LANG_SET_TIME), &tm); | 76 | result = (int)set_time_screen(str(LANG_SET_TIME), &tm, true); |
77 | 77 | ||
78 | if(tm.tm_year != -1) { | 78 | if(tm.tm_year != -1) { |
79 | set_time(&tm); | 79 | set_time(&tm); |