瀏覽代碼

Serial refactor followup

Scott Lahteine 4 年之前
父節點
當前提交
7bbdbcfb6d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/sd/cardreader.h

+ 1
- 1
Marlin/src/sd/cardreader.h 查看文件

@@ -174,7 +174,7 @@ public:
174 174
   #if ENABLED(AUTO_REPORT_SD_STATUS)
175 175
     static void auto_report_sd_status();
176 176
     static inline void set_auto_report_interval(uint8_t v) {
177
-      TERN_(HAS_MULTI_SERIAL, auto_report_port = serialHook.portMask);
177
+      TERN_(HAS_MULTI_SERIAL, auto_report_port = multiSerial.portMask);
178 178
       NOMORE(v, 60);
179 179
       auto_report_sd_interval = v;
180 180
       next_sd_report_ms = millis() + 1000UL * v;

Loading…
取消
儲存