Browse Source

Fix M486 int parameters

pull/1/head
Scott Lahteine 5 years ago
parent
commit
014b739bac
  1. 6
      Marlin/src/gcode/feature/cancel/M486.cpp

6
Marlin/src/gcode/feature/cancel/M486.cpp

@ -45,13 +45,13 @@ void GcodeSuite::M486() {
}
if (parser.seen('S'))
cancelable.set_active_object(parser.value_integer());
cancelable.set_active_object(parser.value_int());
if (parser.seen('C')) cancelable.cancel_active_object();
if (parser.seen('P')) cancelable.cancel_object(parser.value_integer());
if (parser.seen('P')) cancelable.cancel_object(parser.value_int());
if (parser.seen('U')) cancelable.uncancel_object(parser.value_integer());
if (parser.seen('U')) cancelable.uncancel_object(parser.value_int());
}
#endif // CANCEL_OBJECTS

Loading…
Cancel
Save