Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#1159 from thinkyhead/lcd_wait_better
Browse files Browse the repository at this point in the history
M0/M1 Message Fix
  • Loading branch information
nothinman committed Nov 28, 2014
2 parents 5a8b3a8 + 7562183 commit 1977b44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1875,10 +1875,10 @@ void process_commands()
codenum = code_value() * 1000; // seconds to wait
hasS = codenum > 0;
}
starpos = strchr(src, '*');
if (starpos != NULL) *(starpos) = '\0';
while (*src == ' ') ++src;
if (!hasP && !hasS && *src != '\0') {
starpos = strchr(src, '*');
if (starpos != NULL) *(starpos) = '\0';
while (*src == ' ') ++src;
lcd_setstatus(src);
} else {
LCD_MESSAGEPGM(MSG_USERWAIT);
Expand Down

0 comments on commit 1977b44

Please sign in to comment.