stm32l0: rcc: fix definition of RCC_CSR_RTCEN bit

Fixes https://github.com/libopencm3/libopencm3/issues/720
This commit is contained in:
Karl Palsson 2016-12-08 10:44:32 +00:00
parent 31eac1b787
commit 7c3d39fda4
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@
#define RCC_CSR_OBLRSTF (1 << 25)
#define RCC_CSR_RMVF (1 << 24)
#define RCC_CSR_RTCRST (1 << 19)
#define RCC_CSR_RTCEN (1 << 19)
#define RCC_CSR_RTCEN (1 << 18)
#define RCC_CSR_RTCSEL_SHIFT (16)
#define RCC_CSR_RTCSEL_MASK (0x3)
#define RCC_CSR_RTCSEL_NONE (0x0)