From 5968a3e60eac512ade0c9482ab723ee0f33fb5a7 Mon Sep 17 00:00:00 2001 From: teemuatlut Date: Thu, 22 Feb 2018 20:28:46 +0200 Subject: [PATCH] Add ADVANCED_PAUSE_FEATURE include --- Marlin/src/feature/pause.cpp | 1 + Marlin/src/module/configuration_store.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Marlin/src/feature/pause.cpp b/Marlin/src/feature/pause.cpp index 846b370c98..ba28e0f571 100644 --- a/Marlin/src/feature/pause.cpp +++ b/Marlin/src/feature/pause.cpp @@ -51,6 +51,7 @@ #include "../libs/buzzer.h" #include "../libs/nozzle.h" +#include "pause.h" // private: diff --git a/Marlin/src/module/configuration_store.cpp b/Marlin/src/module/configuration_store.cpp index 6799b1f938..ace7f73c1f 100644 --- a/Marlin/src/module/configuration_store.cpp +++ b/Marlin/src/module/configuration_store.cpp @@ -71,6 +71,10 @@ #include "../feature/fwretract.h" #endif +#if ENABLED(ADVANCED_PAUSE_FEATURE) + #include "../feature/pause.h" +#endif + #pragma pack(push, 1) // No padding between variables typedef struct PID { float Kp, Ki, Kd; } PID;