Silence warning in gcode_D

This commit is contained in:
Scott Lahteine 2021-04-28 02:04:07 -05:00
parent f45f4a8d54
commit 731a018905

View File

@ -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;