1
0
forked from M-Labs/kirdy

fix typos

This commit is contained in:
linuswck 2024-03-25 15:25:38 +08:00
parent 898358f4e6
commit d435dc06d8

View File

@ -481,7 +481,7 @@ pub fn execute_cmd(buffer: &mut [u8], buffer_size: usize, socket: &mut SocketHan
thermostat.set_pid_engaged(true); thermostat.set_pid_engaged(true);
} }
Some(ThermostatCmdEnum::SetPidDisEngage) => { Some(ThermostatCmdEnum::SetPidDisEngage) => {
send_response(buffer, ResponseEnum::Acknowledge, Some(ERR_MSG_MISSING_DATA_F32), socket); send_response(buffer, ResponseEnum::Acknowledge, None, socket);
thermostat.set_pid_engaged(false); thermostat.set_pid_engaged(false);
} }
Some(ThermostatCmdEnum::SetPidKp) => { Some(ThermostatCmdEnum::SetPidKp) => {