|
@@ -66,21 +66,21 @@ class Endstops {
|
66
|
66
|
static void M119();
|
67
|
67
|
|
68
|
68
|
// Enable / disable endstop checking globally
|
69
|
|
- static FORCE_INLINE void enable_globally(bool onoff=true) { enabled_globally = enabled = onoff; }
|
|
69
|
+ static void enable_globally(bool onoff=true) { enabled_globally = enabled = onoff; }
|
70
|
70
|
|
71
|
71
|
// Enable / disable endstop checking
|
72
|
|
- static FORCE_INLINE void enable(bool onoff=true) { enabled = onoff; }
|
|
72
|
+ static void enable(bool onoff=true) { enabled = onoff; }
|
73
|
73
|
|
74
|
74
|
// Disable / Enable endstops based on ENSTOPS_ONLY_FOR_HOMING and global enable
|
75
|
|
- static FORCE_INLINE void not_homing() { enabled = enabled_globally; }
|
|
75
|
+ static void not_homing() { enabled = enabled_globally; }
|
76
|
76
|
|
77
|
77
|
// Clear endstops (i.e., they were hit intentionally) to suppress the report
|
78
|
|
- static FORCE_INLINE void hit_on_purpose() { endstop_hit_bits = 0; }
|
|
78
|
+ static void hit_on_purpose() { endstop_hit_bits = 0; }
|
79
|
79
|
|
80
|
80
|
// Enable / disable endstop z-probe checking
|
81
|
81
|
#if HAS_BED_PROBE
|
82
|
82
|
static volatile bool z_probe_enabled;
|
83
|
|
- static FORCE_INLINE void enable_z_probe(bool onoff=true) { z_probe_enabled = onoff; }
|
|
83
|
+ static void enable_z_probe(bool onoff=true) { z_probe_enabled = onoff; }
|
84
|
84
|
#endif
|
85
|
85
|
|
86
|
86
|
private:
|