diff options
author | Harold Tay <htarold@gmail.com> | 2018-12-14 09:59:19 +0300 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2019-01-18 13:32:43 +0300 |
commit | 9cadd60b3c3087fcd78a8bf2eab2848053777703 (patch) | |
tree | 792bdc43039ce0ac91efbf63469744e517ddaff9 /include/libopencm3/stm32/common/rtc_common_l1f024.h | |
parent | 708fe1516c33d77b24d49926a11bc87dfe88d0fd (diff) |
stm32: rtc: Fixed typo in macro def (RTC_DR_MT_MASK)
Diffstat (limited to 'include/libopencm3/stm32/common/rtc_common_l1f024.h')
-rw-r--r-- | include/libopencm3/stm32/common/rtc_common_l1f024.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libopencm3/stm32/common/rtc_common_l1f024.h b/include/libopencm3/stm32/common/rtc_common_l1f024.h index 9d577f36..0de52e8c 100644 --- a/include/libopencm3/stm32/common/rtc_common_l1f024.h +++ b/include/libopencm3/stm32/common/rtc_common_l1f024.h @@ -152,9 +152,9 @@ specific memorymap.h header before including this header file.*/ /** Weekday units mask */ #define RTC_DR_WDU_MASK (0x7) /** Month tens in BCD format shift */ -#define RTC_DR_MT (1<<12) -/** Month tens in BCD format mask */ #define RTC_DR_MT_SHIFT (12) +/** Month tens in BCD format mask */ +#define RTC_DR_MT_MASK (1<<12) /** Month units in BCD format shift */ #define RTC_DR_MU_SHIFT (8) /** Month units in BCD format mask */ |