From f21ad454ad0598bfafddf28574c4814fe34f0bac Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Wed, 28 Mar 2018 14:57:22 -0600 Subject: [PATCH] Enable ACTION_ON_PAUSE and ACTION_ON_RESUME (T1830) --- Marlin/Conditionals_LulzBot.h | 2 ++ Marlin/Configuration_adv.h | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Marlin/Conditionals_LulzBot.h b/Marlin/Conditionals_LulzBot.h index 24789c6cd..b5d9a9a6e 100644 --- a/Marlin/Conditionals_LulzBot.h +++ b/Marlin/Conditionals_LulzBot.h @@ -1469,6 +1469,8 @@ #define LULZBOT_NOZZLE_PARK_POINT { 100, 300, 20 } #endif +#define LULZBOT_ACTION_ON_PAUSE_AND_RESUME + /*********************************** WIPER PAD **********************************/ // Nozzle wiping points (varies by toolhead, as the nozzle position varies) diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 9ad17009b..6e60634eb 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -1488,8 +1488,10 @@ * Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'. * The host must be configured to handle the action command. */ -//#define ACTION_ON_PAUSE "pause" -//#define ACTION_ON_RESUME "resume" +#if defined(LULZBOT_ACTION_ON_PAUSE_AND_RESUME) +#define ACTION_ON_PAUSE "pause" +#define ACTION_ON_RESUME "resume" +#endif //=========================================================================== //====================== I2C Position Encoder Settings ======================