Revert a change in the MMU error screen logic
We can pull this code into a common function in a separate PR
This commit is contained in:
parent
5b4bc8bcdb
commit
96fc90c80b
|
|
@ -253,7 +253,14 @@ void ReportErrorHook(CommandInProgress /*cip*/, uint16_t ec, uint8_t /*es*/) {
|
||||||
ReportErrorHookState = ReportErrorHookStates::RENDER_ERROR_SCREEN;
|
ReportErrorHookState = ReportErrorHookStates::RENDER_ERROR_SCREEN;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ReportErrorHookState = ReportErrorHookStates::DISMISS_ERROR_SCREEN;
|
// Exit error screen and enable lcd updates
|
||||||
|
lcd_set_custom_characters();
|
||||||
|
lcd_update_enable(true);
|
||||||
|
lcd_return_to_status();
|
||||||
|
sound_wait_for_user_reset();
|
||||||
|
// Reset the state in case a new error is reported
|
||||||
|
mmu2.is_mmu_error_monitor_active = false;
|
||||||
|
ReportErrorHookState = ReportErrorHookStates::RENDER_ERROR_SCREEN;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue