Merge branch 'Development' into manual-bed-leveling+mesh-bed-level
This commit is contained in:
commit
4619d80524
2 changed files with 20 additions and 19 deletions
|
|
@ -2588,13 +2588,13 @@ inline void gcode_M17() {
|
|||
*/
|
||||
inline void gcode_M28() {
|
||||
char* codepos = strchr_pointer + 4;
|
||||
char* starpos = strchr(strchr_pointer + 4, '*');
|
||||
char* starpos = strchr(codepos, '*');
|
||||
if (starpos) {
|
||||
char* npos = strchr(cmdbuffer[bufindr], 'N');
|
||||
strchr_pointer = strchr(npos, ' ') + 1;
|
||||
*(starpos) = '\0';
|
||||
}
|
||||
card.openFile(strchr_pointer + 4, false);
|
||||
card.openFile(codepos, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue