Skip to content

Commit

Permalink
Fix for M117 missing character when printing via USB
Browse files Browse the repository at this point in the history
Cherry-picked from UMO repository
Contributed by AmedeeBulle
  • Loading branch information
ckielstra committed Jun 27, 2018
1 parent 7af7133 commit 1f8af77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/Marlin_main.cpp
Expand Up @@ -1644,7 +1644,7 @@ static void process_command()
case 117: // M117 display message
starpos = (strchr(strchr_pointer + 5,'*'));
if(starpos!=NULL)
*(starpos-1)='\0';
*starpos = '\0';
lcd_setstatus(strchr_pointer + 5);
break;
case 120: // M120
Expand Down

0 comments on commit 1f8af77

Please sign in to comment.