🎨 Tweak M73 condition
This commit is contained in:
parent
5c610b2c18
commit
bf9cd90cc4
|
@ -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 a new issue