From 020239687ae3e3944ed9ac0cbb6f85c57966ab44 Mon Sep 17 00:00:00 2001 From: gudnimg Date: Sun, 4 Feb 2024 12:15:58 +0000 Subject: [PATCH] Remove redundant cancel_heatup assignment cancel_heatup is set to false inside wait_for_heater() there is no need to do it before the function call Change in memory: Flash: -4 bytes SRAM: 0 bytes --- Firmware/Marlin_main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 7e5a9e5f9..b5f0099a0 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -6164,8 +6164,6 @@ Sigma_Exit: /* See if we are heating up or cooling down */ target_direction = isHeatingHotend(active_extruder); // true if heating, false if cooling - cancel_heatup = false; - wait_for_heater(codenum, active_extruder); //loops until target temperature is reached LCD_MESSAGERPGM(_T(MSG_HEATING_COMPLETE));