Browse Source

Merge pull request #1159 from thinkyhead/lcd_wait_better

M0/M1 Message Fix
pull/1/head
nothinman 10 years ago
parent
commit
1977b4490f
  1. 6
      Marlin/Marlin_main.cpp

6
Marlin/Marlin_main.cpp

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

Loading…
Cancel
Save