-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings_lock.h
More file actions
23 lines (21 loc) · 764 Bytes
/
settings_lock.h
File metadata and controls
23 lines (21 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* settings_lock.h - grblHAL plugin: password-protect settings over serial/USB
*
* Part of grblHAL <https://github.com/grblHAL>
*
* Usage (serial commands):
* $SETPWD=<password> Set or change the password. Must already be unlocked
* if a password exists. Empty value clears the password
* and disables locking entirely.
* $UNLOCK=<password> Unlock settings for editing on this session.
* $LOCK Re-lock immediately without waiting for a reset.
*
* To wire the plugin in, add one line to your driver's init sequence
* (usually driver.c or plugins_init.h):
*
* #include "settings_lock.h"
* ...
* settings_lock_init();
*/
#pragma once
void settings_lock_init(void);