|
@@ -2179,6 +2179,17 @@ static void do_homing_move(AxisEnum axis, float where, float fr_mm_s = 0.0) {
|
2179
|
2179
|
endstops.hit_on_purpose();
|
2180
|
2180
|
}
|
2181
|
2181
|
|
|
2182
|
+/**
|
|
2183
|
+ * Home an individual "raw axis" to its endstop.
|
|
2184
|
+ * This applies to XYZ on Cartesian and Core robots, and
|
|
2185
|
+ * to the individual ABC steppers on DELTA and SCARA.
|
|
2186
|
+ *
|
|
2187
|
+ * At the end of the procedure the axis is marked as
|
|
2188
|
+ * homed and the current position of that axis is updated.
|
|
2189
|
+ * Kinematic robots should wait till all axes are homed
|
|
2190
|
+ * before updating the current position.
|
|
2191
|
+ */
|
|
2192
|
+
|
2182
|
2193
|
#define HOMEAXIS(LETTER) homeaxis(LETTER##_AXIS)
|
2183
|
2194
|
|
2184
|
2195
|
static void homeaxis(AxisEnum axis) {
|