fixed includes
This commit is contained in:
		@ -11,7 +11,6 @@
 | 
			
		||||
#include "ADBMS_Abstraction.h"
 | 
			
		||||
#include "ADBMS_CMD_MAKROS.h"
 | 
			
		||||
#include "ADBMS_LL_Driver.h"
 | 
			
		||||
#include "can.h"
 | 
			
		||||
 | 
			
		||||
typedef enum {
 | 
			
		||||
  AMSDEACTIVE,
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
#ifndef INC_PWM_CONTROL_H_
 | 
			
		||||
#define INC_PWM_CONTROL_H_
 | 
			
		||||
#ifndef INC_PWM_CONTROL_H
 | 
			
		||||
#define INC_PWM_CONTROL_H
 | 
			
		||||
 | 
			
		||||
#include "stm32f3xx_hal.h"
 | 
			
		||||
#include "ADBMS_LL_Driver.h"
 | 
			
		||||
@ -28,4 +28,4 @@ void PWM_control_init(TIM_HandleTypeDef powerground1, TIM_HandleTypeDef powergro
 | 
			
		||||
void PWM_powerground_control(uint8_t percent);
 | 
			
		||||
void PWM_battery_cooling_control(uint8_t percent);
 | 
			
		||||
 | 
			
		||||
#endif /* INC_CHANNEL_CONTROL_H_ */
 | 
			
		||||
#endif /* INC_CHANNEL_CONTROL_H */
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,12 @@
 | 
			
		||||
#ifndef INC_CAN_H
 | 
			
		||||
#define INC_CAN_H
 | 
			
		||||
 | 
			
		||||
#include "stm32f3xx_hal.h"
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include "main.h"
 | 
			
		||||
#include "AMS_HighLevel.h"
 | 
			
		||||
#include "can-halal.h"
 | 
			
		||||
#include "state_machine.h"
 | 
			
		||||
#include "can-halal.h"
 | 
			
		||||
 | 
			
		||||
#define CAN_ID_IN   0x501
 | 
			
		||||
#define CAN_ID_OUT  0x502
 | 
			
		||||
@ -12,4 +15,6 @@ void can_init(CAN_HandleTypeDef* hcan);
 | 
			
		||||
 | 
			
		||||
void can_handle_send_status();
 | 
			
		||||
 | 
			
		||||
void can_handle_recieve_command(const uint8_t *data);
 | 
			
		||||
void can_handle_recieve_command(const uint8_t *data);
 | 
			
		||||
 | 
			
		||||
#endif /* "INC_CAN_H" */
 | 
			
		||||
		Reference in New Issue
	
	Block a user