Fix the M117 (display message on LCD) when used over USB with checksums.
This commit is contained in:
parent
55ba90ac19
commit
b99a928a80
@ -1218,7 +1218,10 @@ void process_commands()
|
|||||||
SERIAL_PROTOCOLPGM(MSG_M115_REPORT);
|
SERIAL_PROTOCOLPGM(MSG_M115_REPORT);
|
||||||
break;
|
break;
|
||||||
case 117: // M117 display message
|
case 117: // M117 display message
|
||||||
lcd_setstatus(cmdbuffer[bufindr]+5);
|
starpos = (strchr(strchr_pointer + 5,'*'));
|
||||||
|
if(starpos!=NULL)
|
||||||
|
*(starpos-1)='\0';
|
||||||
|
lcd_setstatus(strchr_pointer + 5);
|
||||||
break;
|
break;
|
||||||
case 114: // M114
|
case 114: // M114
|
||||||
SERIAL_PROTOCOLPGM("X:");
|
SERIAL_PROTOCOLPGM("X:");
|
||||||
|
Loading…
Reference in New Issue
Block a user