diff options
Diffstat (limited to 'nuttx/arch/arm/src/sama5/chip/sam_rtc.h')
-rw-r--r-- | nuttx/arch/arm/src/sama5/chip/sam_rtc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sama5/chip/sam_rtc.h b/nuttx/arch/arm/src/sama5/chip/sam_rtc.h index 6018d0e62..476d0fa21 100644 --- a/nuttx/arch/arm/src/sama5/chip/sam_rtc.h +++ b/nuttx/arch/arm/src/sama5/chip/sam_rtc.h @@ -118,7 +118,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_CENT(n) ((uint32_t)(n) << RTC_TIMR_HOUR_SHIFT) #define RTC_CALR_YEAR_SHIFT (8) /* Bits 8-15: Current Year */ #define RTC_CALR_YEAR_MASK (0xff << RTC_CALR_YEAR_SHIFT) |