stm32: rtc-v2: Fix ADD1S bit definition in the RTC SHIFTR register

This commit is contained in:
Marek Koza 2021-02-23 02:12:34 +01:00 committed by Karl Palsson
parent aeb3cee023
commit b4c03a840d
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ specific memorymap.h header before including this header file.*/
/**@}*/
/* RTC shift control register (RTC_SHIFTR) ---------------------- */
#define RTC_SHIFTR_ADD1S (31)
#define RTC_SHIFTR_ADD1S (1<<31)
#define RTC_SHIFTR_SUBFS_SHIFT (0)
#define RTC_SHIFTR_SUBFS_MASK (0x7fff)