Browse Source

Update M17_M18_M84.cpp

Scott Lahteine 6 years ago
parent
commit
3dd04736c0
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/control/M17_M18_M84.cpp

+ 1
- 1
Marlin/src/gcode/control/M17_M18_M84.cpp View File

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

Loading…
Cancel
Save