fixed a build issue
This commit is contained in:
@ -7,9 +7,8 @@
|
||||
#include "can.h"
|
||||
|
||||
#include "AMS_HighLevel.h"
|
||||
#include "TMP1075.h"
|
||||
//#include "TMP1075.h"
|
||||
#include "can-halal.h"
|
||||
#include <stdint.h>
|
||||
|
||||
void can_init(CAN_HandleTypeDef* hcan) { ftcan_init(hcan); }
|
||||
|
||||
@ -22,6 +21,6 @@ with format of:
|
||||
*/
|
||||
void can_handle_send_status() {
|
||||
static uint8_t data[8];
|
||||
data[0] = state. (sm_get_state_code() << 5); //save 5 bit since codes are from 0-6
|
||||
//data[0] = state. (sm_get_state_code() << 5); //save 5 bit since codes are from 0-6
|
||||
//ftcan_transmit(id, data, sizeof(data));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user