Skip to content

Commit

Permalink
Merge pull request #52 from MarlinFirmware/2.0.x
Browse files Browse the repository at this point in the history
Help hosts when password-locked (MarlinFirmware#20348)
  • Loading branch information
ShohninDmitriy authored Dec 2, 2020
2 parents db5c6e9 + 3327568 commit d68e981
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Marlin/src/gcode/gcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
#if ENABLED(PASSWORD_FEATURE)
if (password.is_locked && !(parser.command_letter == 'M' && parser.codenum == 511)) {
SERIAL_ECHO_MSG(STR_PRINTER_LOCKED);
if (!no_ok) queue.ok_to_send();
return;
}
#endif
Expand Down

0 comments on commit d68e981

Please sign in to comment.