From 8de850fd07ecffdf31f07500aa959f8170ff5747 Mon Sep 17 00:00:00 2001 From: ellensp Date: Wed, 3 Feb 2021 09:30:19 +1300 Subject: [PATCH] Fix host_response_handler compile (#20962) --- Marlin/src/feature/host_actions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/feature/host_actions.cpp b/Marlin/src/feature/host_actions.cpp index 5ba3a3e3d2..c194fb7a5b 100644 --- a/Marlin/src/feature/host_actions.cpp +++ b/Marlin/src/feature/host_actions.cpp @@ -182,7 +182,7 @@ void host_action(PGM_P const pstr, const bool eol) { break; case PROMPT_PAUSE_RESUME: msg = PSTR("LCD_PAUSE_RESUME"); - #if ENABLED(ADVANCED_PAUSE_FEATURE) + #if BOTH(ADVANCED_PAUSE_FEATURE, SDSUPPORT) extern const char M24_STR[]; queue.inject_P(M24_STR); #endif