Make Cancel Objects reporting optional (#21698)

This commit is contained in:
Sebastiaan Dammann
2021-04-27 01:32:13 +02:00
committed by GitHub
parent 5301ec618b
commit 36ec7ab150
2 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,7 @@ void CancelObject::set_active_object(const int8_t obj) {
else
skipping = false;
#if HAS_STATUS_MESSAGE
#if BOTH(HAS_STATUS_MESSAGE, CANCEL_OBJECTS_REPORTING)
if (active_object >= 0)
ui.status_printf_P(0, PSTR(S_FMT " %i"), GET_TEXT(MSG_PRINTING_OBJECT), int(active_object));
else