Cleanup documentation
This commit is contained in:
parent
880d2f28bd
commit
d5d77ee243
|
|
@ -1733,7 +1733,7 @@ void loop()
|
||||||
usb_timer.start();
|
usb_timer.start();
|
||||||
}
|
}
|
||||||
else if (usb_timer.expired(10000)) { //just need to check if it expired. Nothing else is needed to be done.
|
else if (usb_timer.expired(10000)) { //just need to check if it expired. Nothing else is needed to be done.
|
||||||
SetPrinterState(PrinterState::HostPrintingFinished); //set printer state to show LCD menu after finished SD print and report correctly M862.7 Q when USB times out
|
SetPrinterState(PrinterState::HostPrintingFinished); //set printer state to show LCD menu after finished SD print
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PRUSA_M28
|
#ifdef PRUSA_M28
|
||||||
|
|
|
||||||
|
|
@ -274,7 +274,7 @@ void CardReader::startFileprint()
|
||||||
if(cardOK)
|
if(cardOK)
|
||||||
{
|
{
|
||||||
sdprinting = true;
|
sdprinting = true;
|
||||||
SetPrinterState(PrinterState::IsSDPrinting); //set printer state to hide LCD menu and report correctly M862.7 Q while SD printing
|
SetPrinterState(PrinterState::IsSDPrinting); //set printer state to hide LCD menu
|
||||||
#ifdef SDCARD_SORT_ALPHA
|
#ifdef SDCARD_SORT_ALPHA
|
||||||
//flush_presort();
|
//flush_presort();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -482,7 +482,7 @@ void get_command()
|
||||||
// Handle the USB timer
|
// Handle the USB timer
|
||||||
if ((*cmd_start == 'G') && (GetPrinterState() != PrinterState::IsSDPrinting)) {
|
if ((*cmd_start == 'G') && (GetPrinterState() != PrinterState::IsSDPrinting)) {
|
||||||
usb_timer.start();
|
usb_timer.start();
|
||||||
SetPrinterState(PrinterState::IsHostPrinting); //set printer state busy printing to hide LCD menu and report correctly M862.7 Q while USB printing
|
SetPrinterState(PrinterState::IsHostPrinting); //set printer state busy printing to hide LCD menu while USB printing
|
||||||
}
|
}
|
||||||
if (allow_when_stopped == false && Stopped == true) {
|
if (allow_when_stopped == false && Stopped == true) {
|
||||||
// Stopped can be set either during error states (thermal error: cannot continue), or
|
// Stopped can be set either during error states (thermal error: cannot continue), or
|
||||||
|
|
|
||||||
|
|
@ -5659,7 +5659,7 @@ void print_stop(bool interactive)
|
||||||
|
|
||||||
// return to status is required to continue processing in the main loop!
|
// return to status is required to continue processing in the main loop!
|
||||||
lcd_commands_type = LcdCommands::StopPrint;
|
lcd_commands_type = LcdCommands::StopPrint;
|
||||||
SetPrinterState(PrinterState::NotReady); //set printer state to show LCD menu after print has been stopped and report correctly M862.7 Q
|
SetPrinterState(PrinterState::NotReady); //set printer state to show LCD menu after print has been stopped
|
||||||
lcd_return_to_status();
|
lcd_return_to_status();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue