summaryrefslogtreecommitdiffstats
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-15 12:10:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-15 12:10:50 +0000
commitf22851f61e7009a5358eedeb32558b8df8e4d64a (patch)
treef19145daa1f8740323e8627d350138d2b6be9d9d /apps/settings_menu.c
parentfc3c39b84b9058e4ea574606f620d5e2b2e1ce01 (diff)
downloadrockbox-f22851f61e7009a5358eedeb32558b8df8e4d64a.tar.gz
rockbox-f22851f61e7009a5358eedeb32558b8df8e4d64a.zip
the simulator simulates rtc now, no need for extra #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2654 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 7a7dceacc3..6fcd687f18 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -241,19 +241,6 @@ static bool timedate_set(void)
timedate[4] = ((timedate[4] & 0x10) >> 4) * 10 + (timedate[4] & 0x0f);
/* day */
timedate[5] = ((timedate[5] & 0x30) >> 4) * 10 + (timedate[5] & 0x0f);
-#else /* SIMULATOR */
- /* hour */
- timedate[0] = 0;
- /* minute */
- timedate[1] = 0;
- /* second */
- timedate[2] = 0;
- /* year */
- timedate[3] = 0;
- /* month */
- timedate[4] = 1;
- /* day */
- timedate[5] = 1;
#endif
result = set_time(str(LANG_TIME),timedate);