Skip to content

Commit ddb0168

Browse files
committed
♻️ More updates for multi-axis
1 parent 0caf234 commit ddb0168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/gcode/feature/digipot/M907-M910.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void GcodeSuite::M907() {
6868
)) return M907_report();
6969

7070
#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)
71-
if (NUM_AXIS_GANG(
71+
if (LINEAR_AXIS_GANG(
7272
parser.seenval('X'), || parser.seenval('Y'), || false,
7373
|| parser.seenval('I'), || parser.seenval('J'), || parser.seenval('K')
7474
)) stepper.set_digipot_current(0, parser.value_int());

0 commit comments

Comments
 (0)