From 1e391f303c8d1110c0c7f1bcc6b4a2297d00b270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 19 Jun 2022 11:43:15 +0000 Subject: [PATCH] PFW-1344 Fullscreen message Loading Filament When loading a filament through the LCD, show a full screen message: Loading Filament N Where N can range from 0 to 5. --- Firmware/mmu2.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 1303deb29..a88cfad45 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -337,11 +337,18 @@ bool MMU2::load_filament(uint8_t index) { if( ! WaitForMMUReady()) return false; + lcd_update_enable(false); + lcd_clear(); + lcd_puts_at_P(0, 1, _T(MSG_LOADING_FILAMENT)); + lcd_print(' '); + lcd_print(index + 1); + ReportingRAII rep(CommandInProgress::LoadFilament); logic.LoadFilament(index); manage_response(false, false); Sound_MakeSound(e_SOUND_TYPE_StandardConfirm); - + lcd_update_enable(true); + return true; }