Fix an issue where visualisation is overwritten by SD file name
We should let EndReport set the custom message type state to Status This will ensure the SD file name is shown correctly AFTER we've shown the visualisation Currently the visualisation is cut off in the middle by ReportProgressHook Change in memory: Flash: -6 bytes SRAM: 0 bytes
This commit is contained in:
parent
4b3dc65598
commit
f34c1ffeac
|
|
@ -272,11 +272,6 @@ void ReportProgressHook(CommandInProgress cip, uint16_t ec) {
|
|||
if (cip != CommandInProgress::NoCommand) {
|
||||
custom_message_type = CustomMsg::MMUProgress;
|
||||
lcd_setstatuspgm( _T(ProgressCodeToText(ec)) );
|
||||
} else {
|
||||
// If there is no command in progress we can display other
|
||||
// useful information such as the name of the SD file
|
||||
// being printed
|
||||
custom_message_type = CustomMsg::Status;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue