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.
This commit is contained in:
parent
8aa16a6429
commit
1e391f303c
|
|
@ -337,10 +337,17 @@ bool MMU2::load_filament(uint8_t index) {
|
||||||
if( ! WaitForMMUReady())
|
if( ! WaitForMMUReady())
|
||||||
return false;
|
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);
|
ReportingRAII rep(CommandInProgress::LoadFilament);
|
||||||
logic.LoadFilament(index);
|
logic.LoadFilament(index);
|
||||||
manage_response(false, false);
|
manage_response(false, false);
|
||||||
Sound_MakeSound(e_SOUND_TYPE_StandardConfirm);
|
Sound_MakeSound(e_SOUND_TYPE_StandardConfirm);
|
||||||
|
lcd_update_enable(true);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue