Skip to content

Commit

Permalink
Fix lcd_status_message_level
Browse files Browse the repository at this point in the history
  • Loading branch information
3d-gussner committed Dec 30, 2024
1 parent 80cb130 commit ee4d8bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,14 +542,14 @@ void lcdui_print_status_line(void) {
break;
}
}
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))
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))
{
// If printing from SD, show what we are printing
const char* longFilenameOLD = (card.longFilename[0] ? card.longFilename : card.filename);
Expand Down

0 comments on commit ee4d8bb

Please sign in to comment.