From c8b87d76eb506d374edd2631d4c29e4300be84c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sat, 26 Sep 2009 14:58:32 +0000 Subject: FS#10569 RTC driver cleanup Change the RTC drivers so that the rtc_(read|write)_datetime functions now deal directly with the tm struct instead of passing a string of bcd digits to/from (set|get)_time . This simplifies drivers for rtc's that do not use a bcd representation internally and cleans up some target specific code and #ifdefs in generic code. Implement simple stubs for the sim to avoid #ifdefing for that too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22839 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/timefuncs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/include') diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h index ab566d9..f51fa99 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h @@ -35,3 +35,4 @@ time_t mktime(struct tm *t); #endif #endif /* _TIMEFUNCS_H_ */ + -- cgit v1.1