Silence warning in gcode_D
This commit is contained in:
parent
f45f4a8d54
commit
731a018905
@ -216,7 +216,8 @@
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case 102: { // D102 Test SD Read
|
case 102: { // D102 Test SD Read
|
||||||
card.openFileRead("test.gco");
|
char testfile[] = "test.gco";
|
||||||
|
card.openFileRead(testfile);
|
||||||
if (!card.isFileOpen()) {
|
if (!card.isFileOpen()) {
|
||||||
SERIAL_ECHOLNPAIR("Failed to open test.gco to read.");
|
SERIAL_ECHOLNPAIR("Failed to open test.gco to read.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user