Make M117 custom message persistant if print is paused
If M117 is called before M601 then we would like the custom message to be visible on the LCD screen until the print is resumed. Change in memory: +10 bytes of flash Fixes #3316
This commit is contained in:
parent
9bb8797b60
commit
c77b768fdd
3 changed files with 13 additions and 6 deletions
Firmware
|
@ -4272,7 +4272,7 @@ void process_commands()
|
|||
if (starpos != NULL)
|
||||
*(starpos) = '\0';
|
||||
lcd_setstatus(strchr_pointer + 5);
|
||||
custom_message_type = CustomMsg::MsgUpdate;
|
||||
custom_message_type = CustomMsg::M117;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue