Skip to content

Commit

Permalink
🩹 Extra axis min home with Delta Sensorless Probe
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 9, 2023
1 parent a6b677f commit 339773d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Marlin/src/module/endstops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,15 +691,9 @@ void __O2 Endstops::report_states() {

} // Endstops::report_states

#if HAS_DELTA_SENSORLESS_PROBING
#define __ENDSTOP(AXIS, ...) AXIS ##_MAX
#define _ENDSTOP_PIN(AXIS, ...) AXIS ##_MAX_PIN
#define _ENDSTOP_INVERTING(AXIS, ...) AXIS ##_MAX_ENDSTOP_INVERTING
#else
#define __ENDSTOP(AXIS, MINMAX) AXIS ##_## MINMAX
#define _ENDSTOP_PIN(AXIS, MINMAX) AXIS ##_## MINMAX ##_PIN
#define _ENDSTOP_INVERTING(AXIS, MINMAX) AXIS ##_## MINMAX ##_ENDSTOP_INVERTING
#endif
#define __ENDSTOP(AXIS, MINMAX) AXIS ##_## MINMAX
#define _ENDSTOP_PIN(AXIS, MINMAX) AXIS ##_## MINMAX ##_PIN
#define _ENDSTOP_INVERTING(AXIS, MINMAX) AXIS ##_## MINMAX ##_ENDSTOP_INVERTING
#define _ENDSTOP(AXIS, MINMAX) __ENDSTOP(AXIS, MINMAX)

/**
Expand Down

0 comments on commit 339773d

Please sign in to comment.