Estimate Remaining Time (graphical display) (#15497)

This commit is contained in:
LinFor
2019-10-11 05:03:33 +03:00
committed by Scott Lahteine
parent 5641adb01b
commit b20d5a7cc6
118 changed files with 747 additions and 103 deletions

View File

@ -39,7 +39,10 @@
*/
void GcodeSuite::M73() {
if (parser.seen('P'))
ui.set_progress(parser.value_byte());
ui.set_progress((PROGRESS_SCALE) > 1
? parser.value_float() * (PROGRESS_SCALE)
: parser.value_byte()
);
}
#endif // LCD_SET_PROGRESS_MANUALLY