Temperature is 12-bit

This commit is contained in:
Jasper Blanckenburg 2023-03-18 18:46:02 +01:00
parent e18135558d
commit 5c5bc3678a
1 changed files with 1 additions and 1 deletions

View File

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