Browse Source

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

pull/1320/head
Marek Koza 4 years ago
committed by Karl Palsson
parent
commit
b4c03a840d
  1. 2
      include/libopencm3/stm32/common/rtc_common_l1f024.h

2
include/libopencm3/stm32/common/rtc_common_l1f024.h

@ -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)

Loading…
Cancel
Save