From e427c4fb4e2f9ad3c63b8f5d22010e8fb182cf7b Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Tue, 24 Dec 2024 07:12:12 +0100 Subject: [PATCH] Fix lcd_status_message_level --- Firmware/ultralcd.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index b78da5cee0..aa5c693aef 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -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);