summaryrefslogtreecommitdiffstats
path: root/apps/menus
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/time_menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c
index abf9c23cd0..6043573684 100644
--- a/apps/menus/time_menu.c
+++ b/apps/menus/time_menu.c
@@ -297,8 +297,10 @@ int time_screen(void* ignored)
because they always report "02:02:02" as time.
*/
struct tm *tm = get_time();
- if (tm->tm_year==102 && tm->tm_hour==2 && tm->tm_min==2 && tm->tm_sec==2) {
+ if (tm->tm_year==102 && tm->tm_hour==2 && tm->tm_min==2 && tm->tm_sec==2)
+ {
splash(4*HZ, "Can't set time/date due to hardware issues!");
+ pop_current_activity();
return 0;
}
#endif