mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 15:39:31 +00:00
Merge pull request #2219 from MagoKimbra/Cura_bug
Fix problem Width Cura
This commit is contained in:
commit
ca2dcff9d4
1 changed files with 1 additions and 1 deletions
|
@ -5170,7 +5170,7 @@ void process_next_command() {
|
||||||
// - Overwrite * with nul to mark the end
|
// - Overwrite * with nul to mark the end
|
||||||
while (*current_command == ' ') ++current_command;
|
while (*current_command == ' ') ++current_command;
|
||||||
if (*current_command == 'N' && current_command[1] >= '0' && current_command[1] <= '9') {
|
if (*current_command == 'N' && current_command[1] >= '0' && current_command[1] <= '9') {
|
||||||
while (*current_command != ' ') ++current_command;
|
while (*current_command != ' ' && *current_command != 'G' && *current_command != 'M' && *current_command != 'T') ++current_command;
|
||||||
while (*current_command == ' ') ++current_command;
|
while (*current_command == ' ') ++current_command;
|
||||||
}
|
}
|
||||||
char *starpos = strchr(current_command, '*'); // * should always be the last parameter
|
char *starpos = strchr(current_command, '*'); // * should always be the last parameter
|
||||||
|
|
Loading…
Reference in a new issue