diff --git a/src/platforms/native/platform.c b/src/platforms/native/platform.c index 0d6a44b6f8a..f5ae48b841a 100644 --- a/src/platforms/native/platform.c +++ b/src/platforms/native/platform.c @@ -148,10 +148,10 @@ void platform_init(void) rcc_periph_clock_enable(RCC_USB); rcc_periph_clock_enable(RCC_GPIOA); rcc_periph_clock_enable(RCC_GPIOB); - if (platform_hwversion() >= 6) { + if (platform_hwversion() >= 6) rcc_periph_clock_enable(RCC_GPIOC); + if (platform_hwversion() >= 1) rcc_periph_clock_enable(RCC_TIM1); - } rcc_periph_clock_enable(RCC_AFIO); rcc_periph_clock_enable(RCC_CRC);