File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,11 @@ extern void SetSysClock(void);
35
35
#if MBED_CONF_TARGET_LSE_AVAILABLE
36
36
37
37
// set defaults for LSE drive load level, with exception for F4_g2 MCU
38
- #ifdef RCC_LSE_HIGHDRIVE_MODE
39
- # if MBED_CONF_TARGET_LSE_DRIVE_LOAD_LEVEL
40
- # define LSE_DRIVE_LOAD_LEVEL MBED_CONF_TARGET_LSE_DRIVE_LOAD_LEVEL
41
- # else
42
- # define LSE_DRIVE_LOAD_LEVEL RCC_LSE_HIGHDRIVE_MODE
43
- # endif
38
+ #if MBED_CONF_TARGET_LSE_DRIVE_LOAD_LEVEL
39
+ # define LSE_DRIVE_LOAD_LEVEL MBED_CONF_TARGET_LSE_DRIVE_LOAD_LEVEL
44
40
#else
45
- # if MBED_CONF_TARGET_LSE_DRIVE_LOAD_LEVEL
46
- # define LSE_DRIVE_LOAD_LEVEL MBED_CONF_TARGET_LSE_DRIVE_LOAD_LEVEL
41
+ # ifdef RCC_LSE_HIGHDRIVE_MODE
42
+ # define LSE_DRIVE_LOAD_LEVEL RCC_LSE_HIGHDRIVE_MODE
47
43
# else
48
44
# define LSE_DRIVE_LOAD_LEVEL RCC_LSEDRIVE_MEDIUMHIGH
49
45
# endif
You can’t perform that action at this time.
0 commit comments