|
@@ -111,9 +111,9 @@ class Endstops {
|
111
|
111
|
FORCE_INLINE static esbits_t state() { return live_state; }
|
112
|
112
|
|
113
|
113
|
/**
|
114
|
|
- * Print an error message reporting the position when the endstops were last hit.
|
|
114
|
+ * Report endstop hits to serial. Called from loop().
|
115
|
115
|
*/
|
116
|
|
- 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
|
|
116
|
+ static void report_state();
|
117
|
117
|
|
118
|
118
|
/**
|
119
|
119
|
* Report endstop positions in response to M119
|
|
@@ -130,7 +130,7 @@ class Endstops {
|
130
|
130
|
static void not_homing();
|
131
|
131
|
|
132
|
132
|
// Clear endstops (i.e., they were hit intentionally) to suppress the report
|
133
|
|
- static void hit_on_purpose();
|
|
133
|
+ FORCE_INLINE static void hit_on_purpose() { hit_state = 0; }
|
134
|
134
|
|
135
|
135
|
// Enable / disable endstop z-probe checking
|
136
|
136
|
#if HAS_BED_PROBE
|