Browse Source

Password followup

Scott Lahteine 5 years ago
parent
commit
8318d90e85
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/gcode/feature/password/M510-M512.cpp

+ 2
- 2
Marlin/src/gcode/feature/password/M510-M512.cpp View File

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

Loading…
Cancel
Save