Merge pull request #4681 from gudnimg/add-workaround-for-tune-button

MMU: Add workaround for broken Tune button
This commit is contained in:
3d-gussner 2024-05-06 12:50:41 +02:00 committed by GitHub
commit eaeb722adb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -464,6 +464,15 @@ void tuneIdlerStallguardThresholdMenu() {
}
void tuneIdlerStallguardThreshold() {
if ((CommandInProgress)mmu2.GetCommandInProgress() != NoCommand)
{
// Workaround to mitigate an issue where the Tune menu doesn't
// work if the MMU is running a command. For example the Idler
// homing fails during toolchange.
// To save the print, make the Tune button unresponsive for now.
return;
}
putErrorScreenToSleep = true;
menu_submenu(tuneIdlerStallguardThresholdMenu);
}