kern

annotate 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
rev   line source
nuclear@36 1 #ifndef _RTC_H_
nuclear@36 2 #define _RTC_H_
nuclear@36 3
nuclear@40 4 #include <time.h>
nuclear@40 5
nuclear@37 6 /* the time read from rtc during init */
nuclear@37 7 time_t start_time;
nuclear@37 8
nuclear@36 9 void init_rtc(void);
nuclear@36 10
nuclear@36 11 #endif /* _RTC_H_ */