fixed a build issue

This commit is contained in:
2024-05-24 18:56:49 +03:00
parent 572749b202
commit c8047a9017
3 changed files with 4 additions and 8 deletions

View File

@ -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));
}