diff options
Diffstat (limited to 'nuttx/arch/arm/src/sam34/chip/sam_rtc.h')
-rw-r--r-- | nuttx/arch/arm/src/sam34/chip/sam_rtc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sam34/chip/sam_rtc.h b/nuttx/arch/arm/src/sam34/chip/sam_rtc.h index 4fe94a459..8f8d49ff7 100644 --- a/nuttx/arch/arm/src/sam34/chip/sam_rtc.h +++ b/nuttx/arch/arm/src/sam34/chip/sam_rtc.h @@ -159,7 +159,7 @@ /* RTC Calendar Register */ #define RTC_CALR_CENT_SHIFT (0) /* Bits 0-6: Current Century */ -#define RTC_CALR_CENT_MASK (0x7f << RTC_TIMR_HOUR_SHIFT) +#define RTC_CALR_CENT_MASK (0x7f << RTC_CALR_CENT_SHIFT) #define RTC_CALR_YEAR_SHIFT (8) /* Bits 8-15: Current Year */ #define RTC_CALR_YEAR_MASK (0xff << RTC_CALR_YEAR_SHIFT) #define RTC_CALR_MONTH_SHIFT (16) /* Bits 16-20: Current Month */ |