File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ static uint32_t _lf_time_us_high = 0;
2828#define COMBINE_HI_LO (hi , lo ) ((((uint64_t)hi) << 32) | ((uint64_t)lo))
2929
3030
31+ void lf_SystemClock_Config ();
32+ void Error_Handler ();
3133
3234// + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
3335// | Code for timer functions
@@ -37,7 +39,7 @@ static uint32_t _lf_time_us_high = 0;
3739void _lf_initialize_clock (void ) {
3840 // Standard initializations from generated code
3941 HAL_Init ();
40- SystemClock_Config ();
42+ lf_SystemClock_Config ();
4143
4244 // Configure TIM5 as our 32-bit clock timer
4345 __HAL_RCC_TIM5_CLK_ENABLE (); // initialize counter
@@ -204,7 +206,7 @@ int test_func(void) {
204206// + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
205207// | Other functions I found -> taken from the generated main.c
206208// + -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
207- void SystemClock_Config (void ) {
209+ void lf_SystemClock_Config (void ) {
208210 RCC_OscInitTypeDef RCC_OscInitStruct = {0 };
209211 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0 };
210212
You can’t perform that action at this time.
0 commit comments