Allow M73 to override SD position (#15449)
This commit is contained in:
parent
d04561805b
commit
19b7be067c
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
|||
* This has no effect during an SD print job
|
||||
*/
|
||||
void GcodeSuite::M73() {
|
||||
if (parser.seen('P') && !IS_SD_PRINTING())
|
||||
if (parser.seen('P'))
|
||||
ui.set_progress(parser.value_byte());
|
||||
}
|
||||
|
||||
|
|
|
@ -1546,7 +1546,7 @@ void MarlinUI::update() {
|
|||
uint8_t progress = 0;
|
||||
#endif
|
||||
#if ENABLED(SDSUPPORT)
|
||||
if (IS_SD_PRINTING()) progress = card.percentDone();
|
||||
if (!_PLIMIT(progress)) progress = card.percentDone();
|
||||
#endif
|
||||
return _PLIMIT(progress);
|
||||
}
|
||||
|
|
Reference in a new issue