mirror of
				https://github.com/Klipper3d/klipper.git
				synced 2025-10-31 02:15:52 +01:00 
			
		
		
		
	Now that the stm32f1 code has been merged into the stm32 code, there is no longer a need to use the upstream stm32f1 "hal" code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
		
			
				
	
	
		
			14 lines
		
	
	
		
			513 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			513 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git a/lib/stm32f1/system_stm32f1xx.c b/lib/stm32f1/system_stm32f1xx.c
 | |
| index be2da1b1..fb6c279c 100644
 | |
| --- a/lib/stm32f1/system_stm32f1xx.c
 | |
| +++ b/lib/stm32f1/system_stm32f1xx.c
 | |
| @@ -154,7 +154,7 @@ const uint8_t APBPrescTable[8U] =  {0, 0, 0, 0, 1, 2, 3, 4};
 | |
|    * @param  None
 | |
|    * @retval None
 | |
|    */
 | |
| -void SystemInit (void)
 | |
| +void __attribute__((externally_visible)) SystemInit (void)
 | |
|  {
 | |
|    /* Reset the RCC clock configuration to the default reset state(for debug purpose) */
 | |
|    /* Set HSION bit */
 |