fix build error with HAL
This commit is contained in:
		
							parent
							
								
									77f9b364a0
								
							
						
					
					
						commit
						600d55f292
					
				| @ -4,8 +4,6 @@ | |||||||
| #include "can.h" | #include "can.h" | ||||||
| #include "common_defs.h" | #include "common_defs.h" | ||||||
| #include "stm32f3xx_hal.h" | #include "stm32f3xx_hal.h" | ||||||
| #include "stm32f3xx_hal_def.h" |  | ||||||
| #include "stm32f3xx_hal_i2c.h" |  | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| 
 | 
 | ||||||
| extern uint32_t tmp1075_failed_sensors; | extern uint32_t tmp1075_failed_sensors; | ||||||
|  | |||||||
| @ -3,8 +3,6 @@ | |||||||
| #include "can-halal.h" | #include "can-halal.h" | ||||||
| 
 | 
 | ||||||
| #include "errors.h" | #include "errors.h" | ||||||
| #include "stm32f3xx_hal_def.h" |  | ||||||
| #include "stm32f3xx_hal_i2c.h" |  | ||||||
| 
 | 
 | ||||||
| #define MAX_TEMP        ((int16_t)(59 / 0.0625f)) | #define MAX_TEMP        ((int16_t)(59 / 0.0625f)) | ||||||
| #define MAX_FAILED_TEMP 12 //TODO: change value for compliance with the actual number of sensors
 | #define MAX_FAILED_TEMP 12 //TODO: change value for compliance with the actual number of sensors
 | ||||||
|  | |||||||
| @ -29,7 +29,6 @@ | |||||||
| #include "TMP1075.h" | #include "TMP1075.h" | ||||||
| #include "errors.h" | #include "errors.h" | ||||||
| #include "stm32f3xx_hal.h" | #include "stm32f3xx_hal.h" | ||||||
| #include "stm32f3xx_hal_gpio.h" |  | ||||||
| /* USER CODE END Includes */ | /* USER CODE END Includes */ | ||||||
| 
 | 
 | ||||||
| /* Private typedef -----------------------------------------------------------*/ | /* Private typedef -----------------------------------------------------------*/ | ||||||
|  | |||||||
| @ -96,6 +96,7 @@ sourceFiles: | |||||||
|   - Src/** |   - Src/** | ||||||
|   - Core/Src/** |   - Core/Src/** | ||||||
|   - Core/Lib/** |   - Core/Lib/** | ||||||
|  |   - Drivers/STM32F3xx_HAL_Driver/Src/** | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # When no makefile is present it will show a warning pop-up. | # When no makefile is present it will show a warning pop-up. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user