Fix the M117 (display message on LCD) when used over USB with checksums.

This commit is contained in:
daid303 2012-12-12 09:35:32 +01:00
parent 55ba90ac19
commit b99a928a80

View file

@ -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:");