From aa778c3cb0e0fe6b0208a898b4d2ed01afc8c468 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 8 Jun 2024 17:13:20 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Prefer=20friendly=20Power=20Off?= =?UTF-8?q?=20over=20Auto-unalive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/gcode/control/M80_M81.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/src/gcode/control/M80_M81.cpp b/Marlin/src/gcode/control/M80_M81.cpp index 94dd5e3dd93f..d85463c2303f 100644 --- a/Marlin/src/gcode/control/M80_M81.cpp +++ b/Marlin/src/gcode/control/M80_M81.cpp @@ -112,9 +112,9 @@ void GcodeSuite::M81() { return; } - #if HAS_SUICIDE - suicide(); - #elif ENABLED(PSU_CONTROL) + #if ENABLED(PSU_CONTROL) powerManager.power_off_soon(); + #elif HAS_SUICIDE + suicide(); #endif }