We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d26bf57 commit 578eaaaCopy full SHA for 578eaaa
src/platforms/native/platform.c
@@ -152,10 +152,10 @@ void platform_init(void)
152
rcc_periph_clock_enable(RCC_USB);
153
rcc_periph_clock_enable(RCC_GPIOA);
154
rcc_periph_clock_enable(RCC_GPIOB);
155
- if (hwversion >= 6) {
+ if (hwversion >= 6)
156
rcc_periph_clock_enable(RCC_GPIOC);
157
+ if (hwversion >= 1)
158
rcc_periph_clock_enable(RCC_TIM1);
- }
159
rcc_periph_clock_enable(RCC_AFIO);
160
rcc_periph_clock_enable(RCC_CRC);
161
0 commit comments