From cf46d1880cb4f47906d2e0aa0bbcdede53e4e0df Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 28 Aug 2024 15:46:53 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Purge=20PLR=20on=20power-off=20(?= =?UTF-8?q?2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/gcode/control/M80_M81.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/src/gcode/control/M80_M81.cpp b/Marlin/src/gcode/control/M80_M81.cpp index e86e267313..8a52d49d9a 100644 --- a/Marlin/src/gcode/control/M80_M81.cpp +++ b/Marlin/src/gcode/control/M80_M81.cpp @@ -34,6 +34,10 @@ #include "../../feature/power.h" #endif +#if ENABLED(POWER_LOSS_RECOVERY) + #include "../../feature/powerloss.h" +#endif + #if HAS_SUICIDE #include "../../MarlinCore.h" #endif