Browse Source

Update M17_M18_M84.cpp

pull/1/head
Scott Lahteine 7 years ago
committed by GitHub
parent
commit
3dd04736c0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/gcode/control/M17_M18_M84.cpp

2
Marlin/src/gcode/control/M17_M18_M84.cpp

@ -45,7 +45,7 @@ void GcodeSuite::M18_M84() {
stepper_inactive_time = parser.value_millis_from_seconds();
}
else {
bool all_axis = !((parser.seen('X')) || (parser.seen('Y')) || (parser.seen('Z')) || (parser.seen('E')));
bool all_axis = !(parser.seen('X') || parser.seen('Y') || parser.seen('Z') || parser.seen('E'));
if (all_axis) {
stepper.finish_and_disable();
}

Loading…
Cancel
Save