Update M17_M18_M84.cpp
This commit is contained in:
parent
5294fd132f
commit
3dd04736c0
@ -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…
Reference in New Issue
Block a user