Localize M119 in Endstops class
This commit is contained in:
parent
5e4e535ce8
commit
5076d12344
3 changed files with 42 additions and 35 deletions
|
|
@ -70,6 +70,11 @@ class Endstops {
|
|||
*/
|
||||
void report_state(); //call from somewhere to create an serial error message with the locations the endstops where hit, in case they were triggered
|
||||
|
||||
/**
|
||||
* Report endstop positions in response to M119
|
||||
*/
|
||||
void M119();
|
||||
|
||||
// Enable / disable endstop checking globally
|
||||
FORCE_INLINE void enable_globally(bool onoff=true) { enabled_globally = enabled = onoff; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue