Browse Source

Silence warning in gcode_D

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
731a018905
  1. 3
      Marlin/src/gcode/gcode_d.cpp

3
Marlin/src/gcode/gcode_d.cpp

@ -216,7 +216,8 @@
} break;
case 102: { // D102 Test SD Read
card.openFileRead("test.gco");
char testfile[] = "test.gco";
card.openFileRead(testfile);
if (!card.isFileOpen()) {
SERIAL_ECHOLNPAIR("Failed to open test.gco to read.");
return;

Loading…
Cancel
Save