🐛 Spellcheck comments (#22496)
codespell -q 3 --builtin=clear,rare,informal,code -S ./Marlin/src/lcd/language -L alo,amin,endcode,stdio,uint
This commit is contained in:
@@ -884,7 +884,7 @@ void Endstops::update() {
|
||||
const byte dual_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1); \
|
||||
if (dual_hit) { \
|
||||
_ENDSTOP_HIT(A, MINMAX); \
|
||||
/* if not performing home or if both endstops were trigged during homing... */ \
|
||||
/* if not performing home or if both endstops were triggered during homing... */ \
|
||||
if (!stepper.separate_multi_axis || dual_hit == 0b11) \
|
||||
planner.endstop_triggered(_AXIS(A)); \
|
||||
} \
|
||||
@@ -894,7 +894,7 @@ void Endstops::update() {
|
||||
const byte triple_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1) | (TEST_ENDSTOP(_ENDSTOP(A##3, MINMAX)) << 2); \
|
||||
if (triple_hit) { \
|
||||
_ENDSTOP_HIT(A, MINMAX); \
|
||||
/* if not performing home or if both endstops were trigged during homing... */ \
|
||||
/* if not performing home or if both endstops were triggered during homing... */ \
|
||||
if (!stepper.separate_multi_axis || triple_hit == 0b111) \
|
||||
planner.endstop_triggered(_AXIS(A)); \
|
||||
} \
|
||||
@@ -904,7 +904,7 @@ void Endstops::update() {
|
||||
const byte quad_hit = TEST_ENDSTOP(_ENDSTOP(A, MINMAX)) | (TEST_ENDSTOP(_ENDSTOP(A##2, MINMAX)) << 1) | (TEST_ENDSTOP(_ENDSTOP(A##3, MINMAX)) << 2) | (TEST_ENDSTOP(_ENDSTOP(A##4, MINMAX)) << 3); \
|
||||
if (quad_hit) { \
|
||||
_ENDSTOP_HIT(A, MINMAX); \
|
||||
/* if not performing home or if both endstops were trigged during homing... */ \
|
||||
/* if not performing home or if both endstops were triggered during homing... */ \
|
||||
if (!stepper.separate_multi_axis || quad_hit == 0b1111) \
|
||||
planner.endstop_triggered(_AXIS(A)); \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user