Skip to content

Commit cfaeebc

Browse files
committed
fixup
1 parent 8aba5ac commit cfaeebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/module/endstops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ void Endstops::update() {
426426

427427
#if ENABLED(G38_PROBE_TARGET)
428428
// For G38 moves check the probe's pin for ALL movement
429-
if (G38_move.type) UPDATE_LIVE_STATE(Z, TERN(USE_Z_MIN_PROBE, MIN_PROBE, MIN));
429+
if (probe.G38_move.type) UPDATE_LIVE_STATE(Z, TERN(USE_Z_MIN_PROBE, MIN_PROBE, MIN));
430430
#endif
431431

432432
#if ENABLED(CALIBRATION_GCODE)

0 commit comments

Comments
 (0)