Fix blank LCD issue
This commit is contained in:
parent
76d1f28c14
commit
d3aa40a575
|
|
@ -214,7 +214,6 @@ bool MMU2::WaitForMMUReady(){
|
||||||
|
|
||||||
bool MMU2::RetryIfPossible(uint16_t ec){
|
bool MMU2::RetryIfPossible(uint16_t ec){
|
||||||
if( retryAttempts ){
|
if( retryAttempts ){
|
||||||
SERIAL_ECHOPGM("retryAttempts=");SERIAL_ECHOLN((uint16_t)retryAttempts);
|
|
||||||
SetButtonResponse(ButtonOperations::Retry);
|
SetButtonResponse(ButtonOperations::Retry);
|
||||||
// check, that Retry is actually allowed on that operation
|
// check, that Retry is actually allowed on that operation
|
||||||
if( ButtonAvailable(ec) != NoButton ){
|
if( ButtonAvailable(ec) != NoButton ){
|
||||||
|
|
@ -684,17 +683,14 @@ void MMU2::CheckUserInput(){
|
||||||
// we'll actually wait for it automagically in manage_response and after it finishes correctly,
|
// we'll actually wait for it automagically in manage_response and after it finishes correctly,
|
||||||
// we'll issue another command (like toolchange)
|
// we'll issue another command (like toolchange)
|
||||||
logic.ClearPrinterError();
|
logic.ClearPrinterError();
|
||||||
lastErrorSource = ErrorSourceMMU; // this seems to help clearing the error screen
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ResumeHotendTemp(); // Recover the hotend temp before we attempt to do anything else...
|
ResumeHotendTemp(); // Recover the hotend temp before we attempt to do anything else...
|
||||||
|
|
||||||
// In case of LOAD_TO_EXTRUDER_FAILED sending a button into the MMU has an interesting side effect
|
if (mmu2.MMULastErrorSource() == MMU2::ErrorSourceMMU) {
|
||||||
// - it triggers the standalone LoadFilament function on the current active slot.
|
// Do not send a button to the MMU unless the MMU is in error state
|
||||||
// Considering the fact, that we are recovering from a failed load to extruder, this side effect is actually quite beneficial
|
Button(btn);
|
||||||
// - it checks if the filament is correctly loaded in the MMU (we assume the user was playing with the filament to recover from the failed load)
|
}
|
||||||
// Moreover, the "button" makes all the nice things like temp recovery
|
|
||||||
Button(btn);
|
|
||||||
|
|
||||||
// A quick hack: for specific error codes move the E-motor every time.
|
// A quick hack: for specific error codes move the E-motor every time.
|
||||||
// Not sure if we can rely on the fsensor.
|
// Not sure if we can rely on the fsensor.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue