kern

view src/rtc.h @ 40:710739e33da8

- now read_rtc doesn't try to read weekday as it's probably wrong anyway, and doesn't set yearday either - mktime now fixes yearday and weekday - moved init_timer and init_rtc just before enabling the interrupts in main
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 12 Jun 2011 15:45:21 +0300
parents 2c401f69128e
children
line source
1 #ifndef _RTC_H_
2 #define _RTC_H_
4 #include <time.h>
6 /* the time read from rtc during init */
7 time_t start_time;
9 void init_rtc(void);
11 #endif /* _RTC_H_ */