mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 15:26:18 +00:00
Password followup
This commit is contained in:
parent
852e5ae042
commit
8318d90e85
@ -60,8 +60,8 @@ void GcodeSuite::M510() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parser.seenval('N')) {
|
if (parser.seenval('S')) {
|
||||||
password.value_entry = parser.ulongval('N');
|
password.value_entry = parser.ulongval('S');
|
||||||
|
|
||||||
if (password.value_entry < CAT(1e, PASSWORD_LENGTH)) {
|
if (password.value_entry < CAT(1e, PASSWORD_LENGTH)) {
|
||||||
password.is_set = true;
|
password.is_set = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user