revert send "sdc_closed_no_delay"
This commit is contained in:
parent
94a1794764
commit
998f9c93e4
|
@ -24,7 +24,7 @@ void can_init(FDCAN_HandleTypeDef *handle) {
|
|||
HAL_StatusTypeDef can_send_status() {
|
||||
uint8_t data[8];
|
||||
data[0] =
|
||||
ts_state.current_state | (sdc_closed << 7) | (sdc_closed_nodelay << 6);
|
||||
ts_state.current_state | (sdc_closed << 7); // | (sdc_closed_nodelay << 6);
|
||||
data[1] = roundf(current_soc);
|
||||
ftcan_marshal_unsigned(&data[2], min_voltage, 2);
|
||||
ftcan_marshal_signed(&data[4], max_temp, 2);
|
||||
|
|
Loading…
Reference in New Issue