1
0
Fork 0

fix typos

This commit is contained in:
linuswck 2024-03-25 15:25:38 +08:00
parent 898358f4e6
commit d435dc06d8
1 changed files with 1 additions and 1 deletions

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) => {