Remove M999 remnants

This was already removed in fc10ca3146
but got reinstated by mistake in the mmu2 merge.

Also remove another incorrect Stopped usage.
This commit is contained in:
Yuri D'Elia 2022-12-12 15:52:24 +01:00
parent 249be543fc
commit 4e7c830661
2 changed files with 0 additions and 11 deletions

View File

@ -8657,16 +8657,6 @@ Sigma_Exit:
}
break;
/*!
### M999 - Restart after being stopped <a href="https://reprap.org/wiki/G-code#M999:_Restart_after_being_stopped_by_error">M999: Restart after being stopped by error</a>
@todo Usually doesn't work. Should be fixed or removed. Most of the time, if `Stopped` it set, the print fails and is unrecoverable.
*/
case 999:
Stopped = false;
lcd_reset_alert_level();
//@@TODO gcode_LastN = Stopped_gcode_LastN;
FlushSerialRequestResend();
break;
/*!
#### End of M-Commands
*/

View File

@ -273,7 +273,6 @@ void CardReader::startFileprint()
if(cardOK)
{
sdprinting = true;
Stopped = false;
#ifdef SDCARD_SORT_ALPHA
//flush_presort();
#endif