Estimate Remaining Time (graphical display) (#15497)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user