MMU: Add workaround for broken Tune button
If the MMU is processing a command, the Tune button can't be executed. Change in memory: Flash: +16 bytes SRAM: 0 bytes
This commit is contained in:
parent
abdee5b7f3
commit
6f915ee401
|
|
@ -464,6 +464,15 @@ void tuneIdlerStallguardThresholdMenu() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void tuneIdlerStallguardThreshold() {
|
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;
|
putErrorScreenToSleep = true;
|
||||||
menu_submenu(tuneIdlerStallguardThresholdMenu);
|
menu_submenu(tuneIdlerStallguardThresholdMenu);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue