We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aadd17d commit d991607Copy full SHA for d991607
1 file changed
flight/pios/stm32f0x/pios_sys.c
@@ -61,9 +61,6 @@ void PIOS_SYS_Init(void)
61
/* do this early to ensure that we take exceptions in the right place */
62
NVIC_Configuration();
63
64
- /* Init the delay system */
65
- PIOS_DELAY_Init();
66
-
67
/*
68
* Turn on all the peripheral clocks.
69
* Micromanaging clocks makes no sense given the power situation in the system, so
@@ -98,6 +95,9 @@ void PIOS_SYS_Init(void)
98
95
RCC_APB2Periph_TIM1 |
99
96
0, ENABLE);
100
97
+ /* Init the delay system */
+ PIOS_DELAY_Init();
+
101
102
* Configure all pins as input / pullup to avoid issues with
103
* uncommitted pins, excepting special-function pins that we need to
0 commit comments