Fix M486 int parameters

This commit is contained in:
Scott Lahteine 2019-10-25 19:19:16 -05:00
parent f8ad15fde8
commit 014b739bac

View file

@ -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