codepos not used in gcode_M28()
Got: Marlin_main.cpp:2567: warning: unused variable 'codepos' Needs revision. Don't now how this should look like.
This commit is contained in:
parent
f5f99c4883
commit
72a9fed4fb
@ -2564,7 +2564,7 @@ inline void gcode_M17() {
|
|||||||
* M28: Start SD Write
|
* M28: Start SD Write
|
||||||
*/
|
*/
|
||||||
inline void gcode_M28() {
|
inline void gcode_M28() {
|
||||||
char* codepos = strchr_pointer + 4;
|
// char* codepos = strchr_pointer + 4; // ??? not used ???
|
||||||
char* starpos = strchr(strchr_pointer + 4, '*');
|
char* starpos = strchr(strchr_pointer + 4, '*');
|
||||||
if (starpos) {
|
if (starpos) {
|
||||||
char* npos = strchr(cmdbuffer[bufindr], 'N');
|
char* npos = strchr(cmdbuffer[bufindr], 'N');
|
||||||
|
Loading…
Reference in New Issue
Block a user