Temperature is 12-bit
This commit is contained in:
parent
e18135558d
commit
5c5bc3678a
|
@ -24,7 +24,7 @@ HAL_StatusTypeDef can_send_status() {
|
|||
data[0] = ts_state.current_state;
|
||||
data[1] = current_soc;
|
||||
data[2] = min_voltage >> 8;
|
||||
data[3] = max_temp >> 8;
|
||||
data[3] = max_temp >> 4;
|
||||
return ftcan_transmit(CAN_ID_AMS_STATUS, data, 4);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue