From de4939a282fa16e2489b03c2e2319e5766083ece Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 14 Jul 2006 22:06:01 +0000 Subject: [PATCH] MFp4: Fix typo in RTC_CALR_MK. --- sys/arm/at91/at91_rtcreg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/at91/at91_rtcreg.h b/sys/arm/at91/at91_rtcreg.h index 00168deb2a9c..7726d17bfc88 100644 --- a/sys/arm/at91/at91_rtcreg.h +++ b/sys/arm/at91/at91_rtcreg.h @@ -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) | \