Skip to content

Commit

Permalink
🩹 Fix MARKFORGED_INVERSE typos (MarlinFirmware#26558)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored and classicrocker883 committed Dec 26, 2023
1 parent 7c1fe8e commit 8934842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/stepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3361,12 +3361,12 @@ void Stepper::endstop_triggered(const AxisEnum axis) {
) * double(0.5)
#elif ENABLED(MARKFORGED_XY)
axis == CORE_AXIS_1
? count_position[CORE_AXIS_1] ENABLED(MARKFORGED_INVERSE, +, -) count_position[CORE_AXIS_2]
? count_position[CORE_AXIS_1] TERN(MARKFORGED_INVERSE, +, -) count_position[CORE_AXIS_2]
: count_position[CORE_AXIS_2]
#elif ENABLED(MARKFORGED_YX)
axis == CORE_AXIS_1
? count_position[CORE_AXIS_1]
: count_position[CORE_AXIS_2] ENABLED(MARKFORGED_INVERSE, +, -) count_position[CORE_AXIS_1]
: count_position[CORE_AXIS_2] TERN(MARKFORGED_INVERSE, +, -) count_position[CORE_AXIS_1]
#else // !IS_CORE
count_position[axis]
#endif
Expand Down

0 comments on commit 8934842

Please sign in to comment.