clean up can code
This commit is contained in:
		@ -21,16 +21,9 @@ void ams_can_init(CAN_HandleTypeDef* hcan);
 | 
			
		||||
void ams_can_handle_ams_msg(CAN_RxHeaderTypeDef* header, uint8_t* data);
 | 
			
		||||
 | 
			
		||||
void ams_can_send_status();
 | 
			
		||||
/**
 | 
			
		||||
 * @brief Send an AMS Error via CAN.
 | 
			
		||||
 *
 | 
			
		||||
 * Data is taken from error_data
 | 
			
		||||
 */
 | 
			
		||||
void ams_can_send_error();
 | 
			
		||||
 | 
			
		||||
HAL_StatusTypeDef ams_can_wait_for_free_mailboxes(CAN_HandleTypeDef* handle,
 | 
			
		||||
                                                  int num_mailboxes,
 | 
			
		||||
                                                  uint32_t timeout);
 | 
			
		||||
void ams_can_send_log();
 | 
			
		||||
 | 
			
		||||
#endif /* INC_AMS_CAN_H_ */
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user