fix typos
This commit is contained in:
parent
898358f4e6
commit
d435dc06d8
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue