Fix reset of endstops and move state
This commit is contained in:
@ -111,9 +111,9 @@ class Endstops {
|
||||
FORCE_INLINE static esbits_t state() { return live_state; }
|
||||
|
||||
/**
|
||||
* Print an error message reporting the position when the endstops were last hit.
|
||||
* Report endstop hits to serial. Called from loop().
|
||||
*/
|
||||
static void report_state(); //call from somewhere to create an serial error message with the locations the endstops where hit, in case they were triggered
|
||||
static void report_state();
|
||||
|
||||
/**
|
||||
* Report endstop positions in response to M119
|
||||
@ -130,7 +130,7 @@ class Endstops {
|
||||
static void not_homing();
|
||||
|
||||
// Clear endstops (i.e., they were hit intentionally) to suppress the report
|
||||
static void hit_on_purpose();
|
||||
FORCE_INLINE static void hit_on_purpose() { hit_state = 0; }
|
||||
|
||||
// Enable / disable endstop z-probe checking
|
||||
#if HAS_BED_PROBE
|
||||
|
Reference in New Issue
Block a user