PFW-1334 Distinguish between a retry unload and U0 unload
U0 unload uses the ramming sequence, while the retry unload does not because the MMU starts unloading much sooner
This commit is contained in:
parent
9a52bb5d04
commit
6eb2767dd2
|
|
@ -783,6 +783,12 @@ void MMU2::OnMMUProgressMsg(ProgressCode pc){
|
||||||
// Act accordingly - one-time handling
|
// Act accordingly - one-time handling
|
||||||
switch (pc) {
|
switch (pc) {
|
||||||
case ProgressCode::UnloadingToFinda:
|
case ProgressCode::UnloadingToFinda:
|
||||||
|
if ((CommandInProgress)logic.CommandInProgress() == CommandInProgress::UnloadFilament)
|
||||||
|
{
|
||||||
|
// If MK3S sent U0 command, then the code below is not relevant.
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// This is intended to handle Retry option on MMU error screen
|
// This is intended to handle Retry option on MMU error screen
|
||||||
// MMU sends P3 progress code during Query, and if filament is stuck
|
// MMU sends P3 progress code during Query, and if filament is stuck
|
||||||
// in the gears, the MK3S needs to move e-axis as well.
|
// in the gears, the MK3S needs to move e-axis as well.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue