M73 R : Set Remaining Time (#15549)

This commit is contained in:
Roman Moravčík
2019-11-13 02:36:54 +01:00
committed by Scott Lahteine
parent ac71cdc265
commit e110f5abce
109 changed files with 471 additions and 133 deletions

View File

@ -43,6 +43,9 @@ void GcodeSuite::M73() {
? parser.value_float() * (PROGRESS_SCALE)
: parser.value_byte()
);
#if ENABLED(USE_M73_REMAINING_TIME)
if (parser.seen('R')) ui.set_remaining_time(60 * parser.value_ulong());
#endif
}
#endif // LCD_SET_PROGRESS_MANUALLY