Browse Source

Password followup

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
8318d90e85
  1. 4
      Marlin/src/gcode/feature/password/M510-M512.cpp

4
Marlin/src/gcode/feature/password/M510-M512.cpp

@ -60,8 +60,8 @@ void GcodeSuite::M510() {
return;
}
if (parser.seenval('N')) {
password.value_entry = parser.ulongval('N');
if (parser.seenval('S')) {
password.value_entry = parser.ulongval('S');
if (password.value_entry < CAT(1e, PASSWORD_LENGTH)) {
password.is_set = true;

Loading…
Cancel
Save