removed common_defs.h
This commit is contained in:
@ -73,7 +73,7 @@ void can_handle_send_status() {
|
||||
data[7] = ((highest_temp) >> 4);
|
||||
|
||||
ftcan_transmit(CAN_ID_OUT, data, sizeof(data));
|
||||
|
||||
/*
|
||||
int8_t id_lowest_temp = -1;
|
||||
int16_t lowest_temp = INT16_MIN;
|
||||
for (int i = 0; i < N_TEMP_SENSORS; i++) {
|
||||
@ -109,6 +109,7 @@ void can_handle_send_status() {
|
||||
data[7] = 0;
|
||||
|
||||
ftcan_transmit(CAN_ID_OUT, data, sizeof(data));
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@ -29,6 +29,10 @@ void sm_init(){
|
||||
precharge_timer = discharge_timer = powerground_calibration_timer = 0;
|
||||
}
|
||||
|
||||
void sm_update_BMS_state(){
|
||||
|
||||
}
|
||||
|
||||
#warning change amsState here
|
||||
void sm_update(){
|
||||
sm_check_errors();
|
||||
|
||||
Reference in New Issue
Block a user