Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Firmware/cmdqueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
6 changes: 5 additions & 1 deletion Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,11 @@ void lcdui_print_status_line(void) {
break;
}
}
else if ((IS_SD_PRINTING) &&
else if (((IS_SD_PRINTING)
#ifdef SHOW_FILENAME_AFTER_FINISH
|| (GetPrinterState() == PrinterState::SDPrintingFinished)
#endif //SHOW_FILENAME_AFTER_FINISH
) &&
(custom_message_type == CustomMsg::Status) &&
(lcd_status_message_level <= LCD_STATUS_INFO) &&
lcd_status_message_timeout.expired_cont(LCD_STATUS_INFO_TIMEOUT))
Expand Down
7 changes: 7 additions & 0 deletions Firmware/variants/MK25-RAMBo10a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK25-RAMBo13a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK25S-RAMBo10a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK25S-RAMBo13a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK3-E3DREVO.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK3-E3DREVO_HF_60W.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK3S-E3DREVO.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK3S-E3DREVO_HF_60W.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/MK3S.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/obsolete/1_75mm_MK2-RAMBo10a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Firmware/variants/obsolete/1_75mm_MK2-RAMBo13a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -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