Skip to content

Commit

Permalink
♻️ More updates for multi-axis
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 24, 2022
1 parent 0caf234 commit ddb0168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/feature/digipot/M907-M910.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void GcodeSuite::M907() {
)) return M907_report();

#if ANY_PIN(MOTOR_CURRENT_PWM_X, MOTOR_CURRENT_PWM_Y, MOTOR_CURRENT_PWM_XY, MOTOR_CURRENT_PWM_I, MOTOR_CURRENT_PWM_J, MOTOR_CURRENT_PWM_K)
if (NUM_AXIS_GANG(
if (LINEAR_AXIS_GANG(
parser.seenval('X'), || parser.seenval('Y'), || false,
|| parser.seenval('I'), || parser.seenval('J'), || parser.seenval('K')
)) stepper.set_digipot_current(0, parser.value_int());
Expand Down

0 comments on commit ddb0168

Please sign in to comment.