Remove unneeded parameter from fuction
This commit is contained in:
parent
376d9c7aaf
commit
2ab7257fe6
@ -128,10 +128,8 @@ static void reactivate_pid_if_suspended(void)
|
||||
pid_should_run = true;
|
||||
}
|
||||
|
||||
static bool cmd_set_temp(struct pl_command *cmd, bool cmd_continue)
|
||||
static bool cmd_set_temp(struct pl_command *cmd)
|
||||
{
|
||||
(void)cmd_continue;
|
||||
|
||||
reactivate_pid_if_suspended();
|
||||
oven_pid_set_target_temperature(cmd->params[0]);
|
||||
state.setpoint = cmd->params[0];
|
||||
@ -222,7 +220,7 @@ int temp_profile_executer_handle(void)
|
||||
advance = cmd_wait_temp(current_cmd, cmd_continue);
|
||||
break;
|
||||
case PL_SET_TEMP:
|
||||
advance = cmd_set_temp(current_cmd, cmd_continue);
|
||||
advance = cmd_set_temp(current_cmd);
|
||||
break;
|
||||
case PL_LOUDSPEAKER_SET:
|
||||
loudspeaker_set((uint16_t)current_cmd->params[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user