Browse Source

Help hosts when password-locked (#20348)

Luu Lac 4 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
   #if ENABLED(PASSWORD_FEATURE)
252
   #if ENABLED(PASSWORD_FEATURE)
253
     if (password.is_locked && !parser.is_command('M', 511)) {
253
     if (password.is_locked && !parser.is_command('M', 511)) {
254
       SERIAL_ECHO_MSG(STR_PRINTER_LOCKED);
254
       SERIAL_ECHO_MSG(STR_PRINTER_LOCKED);
255
+      if (!no_ok) queue.ok_to_send();
255
       return;
256
       return;
256
     }
257
     }
257
   #endif
258
   #endif

Loading…
Cancel
Save