🎨 Tweak M73 condition
This commit is contained in:
parent
be55401e3c
commit
9c19d4705e
@ -40,7 +40,7 @@ void GcodeSuite::M73() {
|
|||||||
? parser.value_float() * (PROGRESS_SCALE)
|
? parser.value_float() * (PROGRESS_SCALE)
|
||||||
: parser.value_byte()
|
: parser.value_byte()
|
||||||
);
|
);
|
||||||
#if BOTH(LCD_SET_PROGRESS_MANUALLY, USE_M73_REMAINING_TIME)
|
#if ENABLED(USE_M73_REMAINING_TIME)
|
||||||
if (parser.seenval('R')) ui.set_remaining_time(60 * parser.value_ulong());
|
if (parser.seenval('R')) ui.set_remaining_time(60 * parser.value_ulong());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user