From d435dc06d89867d32618034a9789f5549fed115b Mon Sep 17 00:00:00 2001 From: linuswck Date: Mon, 25 Mar 2024 15:25:38 +0800 Subject: [PATCH] fix typos --- src/net/cmd_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/cmd_handler.rs b/src/net/cmd_handler.rs index 2668013..19c7f06 100644 --- a/src/net/cmd_handler.rs +++ b/src/net/cmd_handler.rs @@ -481,7 +481,7 @@ pub fn execute_cmd(buffer: &mut [u8], buffer_size: usize, socket: &mut SocketHan thermostat.set_pid_engaged(true); } 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); } Some(ThermostatCmdEnum::SetPidKp) => {