Allow M73 to override SD position (#15449)
This commit is contained in:
		| @@ -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 New Issue
	
	Block a user