stm32l1: rcc/lcd: fix RTCSEL HSE definition
Wrong since original commit in 2013. LCD code can't actually automatically determine clock speed if it's HSE, as we don't know here whether what HSE is, nor what it's divided by. For more fun, that old 2014 API doesn't have any way of flagging that it failed either. Hooray.
This commit is contained in:
@@ -430,7 +430,7 @@
|
||||
#define RCC_CSR_RTCSEL_NONE (0x0)
|
||||
#define RCC_CSR_RTCSEL_LSE (0x1)
|
||||
#define RCC_CSR_RTCSEL_LSI (0x2)
|
||||
#define RCC_CSR_RTCSEL_HSI (0x3)
|
||||
#define RCC_CSR_RTCSEL_HSE (0x3)
|
||||
#define RCC_CSR_LSECSSD (1 << 12)
|
||||
#define RCC_CSR_LSECSSON (1 << 11)
|
||||
#define RCC_CSR_LSEBYP (1 << 10)
|
||||
|
||||
Reference in New Issue
Block a user