diff options
Diffstat (limited to 'chip/stm32/clock-stm32f.c')
-rw-r--r-- | chip/stm32/clock-stm32f.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/clock-stm32f.c b/chip/stm32/clock-stm32f.c index 96218f115f..a9fd61fcf0 100644 --- a/chip/stm32/clock-stm32f.c +++ b/chip/stm32/clock-stm32f.c @@ -113,14 +113,14 @@ static void __rtc_alarm_irq(void) } DECLARE_IRQ(STM32_IRQ_RTC_ALARM, __rtc_alarm_irq, 1); -#if defined(BOARD_snow) || defined(BOARD_spring) +#if defined(BOARD_SNOW) || defined(BOARD_SPRING) /* * stays on HSI (8MHz), no prescaler, PLLSRC = HSI/2, PLLMUL = x4 * no MCO => PLLCLK = 16 Mhz */ #define DESIRED_CPU_CLOCK 16000000 #define RCC_CFGR 0x00080000 -#elif defined(BOARD_mccroskey) +#elif defined(BOARD_MCCROSKEY) /* * HSI = 8MHz, no prescaler, no MCO * PLLSRC = HSI/2, PLLMUL = x12 => PLLCLK = 48MHz |