1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

🎨 Tweak M73 condition

This commit is contained in:
Scott Lahteine 2021-08-10 23:49:56 -05:00
parent 5c610b2c18
commit bf9cd90cc4

View File

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