We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1dc7be commit b2aaba7Copy full SHA for b2aaba7
3 files changed
machine/arm/stm32l4xx/interface/clock.c
@@ -53,7 +53,7 @@ void tim2_hndlr(void)
53
}
54
55
56
-void SystemClock_Config(void)
+void init_clock_cfg(void)
57
{
58
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
59
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
machine/arm/stm32l4xx/interface/lib.c
@@ -31,7 +31,7 @@ void init_hal(void) {
31
32
enable_faults();
33
34
- SystemClock_Config();
+ init_clock_cfg();
35
init_systick();
36
37
machine/arm/stm32l4xx/interface/lib.h
@@ -1 +1,3 @@
1
-#pragma once
+#pragma once
2
+
3
+void init_clock_cfg(void);
0 commit comments