From e758b146beb18bd979baf570703b69b1cf3982f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Thu, 16 Nov 2023 14:30:29 +0000 Subject: [PATCH] MMU: Remove gcode_reset_stepper_timeout This function was removed on the 32-bit side. On the 8-bit the function was empty so it is safe remove it. --- Firmware/mmu2.cpp | 3 --- Firmware/mmu2_marlin.h | 2 -- Firmware/mmu2_marlin1.cpp | 4 ---- 3 files changed, 9 deletions(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index fd35e7514..2735889a7 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -639,9 +639,6 @@ void MMU2::SaveAndPark(bool move_axes) { } } } - // keep the motors powered forever (until some other strategy is chosen) - // @@TODO do we need that in 8bit? - gcode_reset_stepper_timeout(); } void MMU2::ResumeHotendTemp() { diff --git a/Firmware/mmu2_marlin.h b/Firmware/mmu2_marlin.h index 40aeee0f2..a2bfcb001 100644 --- a/Firmware/mmu2_marlin.h +++ b/Firmware/mmu2_marlin.h @@ -60,6 +60,4 @@ void Disable_E0(); bool all_axes_homed(); -void gcode_reset_stepper_timeout(); - } // namespace MMU2 diff --git a/Firmware/mmu2_marlin1.cpp b/Firmware/mmu2_marlin1.cpp index 3a7dfa837..255a4e8a6 100644 --- a/Firmware/mmu2_marlin1.cpp +++ b/Firmware/mmu2_marlin1.cpp @@ -133,10 +133,6 @@ void safe_delay_keep_alive(uint16_t t) { delay_keep_alive(t); } -void gcode_reset_stepper_timeout(){ - // empty -} - void Enable_E0(){ enable_e0(); } void Disable_E0(){ disable_e0(); }