0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-31 14:12:52 +00:00

Update Marlin_main.cpp

This commit is contained in:
Scott Lahteine 2017-12-31 00:24:57 -06:00 committed by GitHub
parent 1e18d716c2
commit 4153d76810
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8313,7 +8313,7 @@ inline void gcode_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();
}