diff options
Diffstat (limited to 'chip/stm32/clock-stm32l.c')
-rw-r--r-- | chip/stm32/clock-stm32l.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/clock-stm32l.c b/chip/stm32/clock-stm32l.c index 93706c7019..b0903b5cb1 100644 --- a/chip/stm32/clock-stm32l.c +++ b/chip/stm32/clock-stm32l.c @@ -33,8 +33,8 @@ static int fake_hibernate; * because it's the lowest clock rate we can still run 115200 baud serial * for the debug console. */ -#define MSI_2MHZ_CLOCK (1 << 21) -#define MSI_1MHZ_CLOCK (1 << 20) +#define MSI_2MHZ_CLOCK BIT(21) +#define MSI_1MHZ_CLOCK BIT(20) enum clock_osc { OSC_INIT = 0, /* Uninitialized */ |