PFW-1530 rename isErrorScreenSleeping to TuneMenuEntered

This commit is contained in:
Guðni Már Gilbert 2023-08-12 13:11:36 +00:00 committed by DRracer
parent 92b3a2443e
commit 3766aadd99
3 changed files with 3 additions and 3 deletions

View File

@ -819,7 +819,7 @@ bool MMU2::manage_response(const bool move_axes, const bool turn_off_nozzle) {
// the E may have some more moves to finish - wait for them
ResumeHotendTemp();
ResumeUnpark(); // We can now travel back to the tower or wherever we were when we saved.
if (!isErrorScreenSleeping())
if (!TuneMenuEntered())
{
// If the error screen is sleeping (running 'Tune' menu)
// then don't reset retry attempts because we this will trigger

View File

@ -227,7 +227,7 @@ bool isErrorScreenRunning() {
return is_mmu_error_monitor_active;
}
bool isErrorScreenSleeping() {
bool TuneMenuEntered() {
return putErrorScreenToSleep;
}

View File

@ -28,7 +28,7 @@ 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
bool isErrorScreenSleeping();
bool TuneMenuEntered();
/// @brief Called when the MMU or MK3S sends operation error (even repeatedly).
/// Render MMU error screen on the LCD. This must be non-blocking