diff --git a/src/platforms/native/platform.c b/src/platforms/native/platform.c index 2dc959b0440..d35c1357fc2 100644 --- a/src/platforms/native/platform.c +++ b/src/platforms/native/platform.c @@ -152,10 +152,10 @@ void platform_init(void) rcc_periph_clock_enable(RCC_USB); rcc_periph_clock_enable(RCC_GPIOA); rcc_periph_clock_enable(RCC_GPIOB); - if (hwversion >= 6) { + if (hwversion >= 6) rcc_periph_clock_enable(RCC_GPIOC); + if (hwversion >= 1) rcc_periph_clock_enable(RCC_TIM1); - } rcc_periph_clock_enable(RCC_AFIO); rcc_periph_clock_enable(RCC_CRC);