瀏覽代碼

Silence warning in gcode_D

Scott Lahteine 4 年之前
父節點
當前提交
636facf40d
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      Marlin/src/gcode/gcode_d.cpp

+ 2
- 1
Marlin/src/gcode/gcode_d.cpp 查看文件

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

Loading…
取消
儲存