Browse Source

Fix host_response_handler compile (#20962)

ellensp 4 years ago
parent
commit
65483dcc95
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/host_actions.cpp

+ 1
- 1
Marlin/src/feature/host_actions.cpp View File

@@ -182,7 +182,7 @@ void host_action(PGM_P const pstr, const bool eol) {
182 182
         break;
183 183
       case PROMPT_PAUSE_RESUME:
184 184
         msg = PSTR("LCD_PAUSE_RESUME");
185
-        #if ENABLED(ADVANCED_PAUSE_FEATURE)
185
+        #if BOTH(ADVANCED_PAUSE_FEATURE, SDSUPPORT)
186 186
           extern const char M24_STR[];
187 187
           queue.inject_P(M24_STR);
188 188
         #endif

Loading…
Cancel
Save