Fix typo in RTC_CALR_MK.
This commit is contained in:
imp 2006-07-14 22:06:01 +00:00
parent 05cb2db736
commit de4939a282

View File

@ -74,7 +74,7 @@
#define RTC_CALR_DAY_S 24
#define RTC_CALR_DAY(x) FROMBCD(((x) & RTC_CALR_DAY_M) >> RTC_CALR_DAY_S)
#define RTC_CALR_MK(yr, mon, day, dow) \
((TOBCD((yr) / 100 + 19) << RTC_CALR_CENTURY_S) | \
((TOBCD((yr) / 100 + 19) << RTC_CALR_CEN_S) | \
(TOBCD((yr) % 100) << RTC_CALR_YEAR_S) | \
(TOBCD(mon) << RTC_CALR_MON_S) | \
(TOBCD(dow) << RTC_CALR_DOW_S) | \