Skip to content

Commit 8867c45

Browse files
committed
🎨 Fix and/or warning
1 parent c0e108b commit 8867c45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ void GcodeSuite::M907() {
104104

105105
// X Y I J K U V W - All aliases to set the current for "most axes."
106106
// Only the value of the last given parameter is used.
107-
if (ENABLED(HAS_X_Y_XY_I_J_K_U_V_W) && NUM_AXIS_GANG(
107+
if (ENABLED(HAS_X_Y_XY_I_J_K_U_V_W) && (NUM_AXIS_GANG(
108108
parser.seenval('X'), || parser.seenval('Y'), || false,
109109
|| parser.seenval('I'), || parser.seenval('J'), || parser.seenval('K'),
110110
|| parser.seenval('U'), || parser.seenval('V'), || parser.seenval('W')
111-
))
111+
)))
112112
stepper.set_digipot_current(0, parser.value_int());
113113

114114
// Z<current> - Set the current just for the Z axis

0 commit comments

Comments
 (0)