diff --git a/Firmware/mmu2_reporting.cpp b/Firmware/mmu2_reporting.cpp index e6ae89b20..a44f03947 100644 --- a/Firmware/mmu2_reporting.cpp +++ b/Firmware/mmu2_reporting.cpp @@ -223,17 +223,13 @@ static bool is_mmu_error_monitor_active; static bool putErrorScreenToSleep; void CheckErrorScreenUserInput() { - if (isErrorScreenRunning()) { + if (is_mmu_error_monitor_active) { // Call this every iteration to keep the knob rotation responsive // This includes when mmu_loop is called within manage_response ReportErrorHook((CommandInProgress)mmu2.GetCommandInProgress(), mmu2.GetLastErrorCode(), mmu2.MMULastErrorSource()); } } -bool isErrorScreenRunning() { - return is_mmu_error_monitor_active; -} - bool TuneMenuEntered() { return putErrorScreenToSleep; } diff --git a/Firmware/mmu2_reporting.h b/Firmware/mmu2_reporting.h index 927c2b20b..90ac93b24 100644 --- a/Firmware/mmu2_reporting.h +++ b/Firmware/mmu2_reporting.h @@ -32,9 +32,6 @@ void EndReport(CommandInProgress cip, ProgressCode ec); /// Checks for error screen user input, if the error screen is open void CheckErrorScreenUserInput(); -/// Return true if the printer's LCD is drawing the error screen -bool isErrorScreenRunning(); - /// Return true if the error screen is sleeping in the background /// Error screen sleeps when the firmware is rendering complementary /// UI to resolve the error screen, for example tuning Idler Stallguard Threshold