Browse Source

Help hosts when password-locked (#20348)

Luu Lac 3 years ago
parent
commit
257dc6d173
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/src/gcode/gcode.cpp

+ 1
- 0
Marlin/src/gcode/gcode.cpp View File

@@ -252,6 +252,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
252 252
   #if ENABLED(PASSWORD_FEATURE)
253 253
     if (password.is_locked && !parser.is_command('M', 511)) {
254 254
       SERIAL_ECHO_MSG(STR_PRINTER_LOCKED);
255
+      if (!no_ok) queue.ok_to_send();
255 256
       return;
256 257
     }
257 258
   #endif

Loading…
Cancel
Save