Show filename after SD print finished
This commit is contained in:
parent
901f63e90f
commit
80cb13003e
|
|
@ -670,7 +670,9 @@ void get_command()
|
|||
sprintf_P(time, PSTR("%i hours %i minutes"),hours, minutes);
|
||||
SERIAL_ECHO_START;
|
||||
SERIAL_ECHOLN(time);
|
||||
#ifndef SHOW_FILENAME_AFTER_FINISH
|
||||
lcd_setstatus(time);
|
||||
#endif //SHOW_FILENAME_AFTER_FINISH
|
||||
card.printingHasFinished();
|
||||
card.checkautostart(true);
|
||||
|
||||
|
|
|
|||
|
|
@ -542,10 +542,14 @@ void lcdui_print_status_line(void) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
else if ((IS_SD_PRINTING) &&
|
||||
else if (((IS_SD_PRINTING) &&
|
||||
(custom_message_type == CustomMsg::Status) &&
|
||||
(lcd_status_message_level <= LCD_STATUS_INFO) &&
|
||||
lcd_status_message_timeout.expired_cont(LCD_STATUS_INFO_TIMEOUT))
|
||||
#ifdef SHOW_FILENAME_AFTER_FINISH
|
||||
|| (GetPrinterState() == PrinterState::SDPrintingFinished)
|
||||
#endif //SHOW_FILENAME_AFTER_FINISH
|
||||
)
|
||||
{
|
||||
// If printing from SD, show what we are printing
|
||||
const char* longFilenameOLD = (card.longFilename[0] ? card.longFilename : card.filename);
|
||||
|
|
|
|||
|
|
@ -520,4 +520,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -524,4 +524,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -528,4 +528,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -529,4 +529,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -687,4 +687,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -688,4 +688,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -690,4 +690,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -699,4 +699,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -700,4 +700,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -702,4 +702,11 @@
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -430,4 +430,11 @@ THERMISTORS SETTINGS
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
|
|
@ -429,4 +429,11 @@ THERMISTORS SETTINGS
|
|||
#define DEFAULT_MIN_ARC_SEGMENTS 20 // The enforced minimum segments in a full circle of the same radius. Set to 0 to disable
|
||||
#define DEFAULT_ARC_SEGMENTS_PER_SEC 0 // Use feedrate to choose segment length. Set to 0 to disable
|
||||
|
||||
/*------------------------------------
|
||||
COMMUNITY FEATURES
|
||||
*------------------------------------*/
|
||||
|
||||
//Show filename instead of print time after SD card print finished
|
||||
//#define SHOW_FILENAME_AFTER_FINISH
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue