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:
parent
1e18d716c2
commit
4153d76810
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue