瀏覽代碼

Fix DUE HAL serial defines (#15594)

Evgeny Zyatkov 5 年之前
父節點
當前提交
9470554f63
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/src/HAL/HAL_DUE/HAL.h

+ 2
- 2
Marlin/src/HAL/HAL_DUE/HAL.h 查看文件

@@ -40,7 +40,7 @@
40 40
 
41 41
 // Define MYSERIAL0/1 before MarlinSerial includes!
42 42
 #if SERIAL_PORT == -1
43
-  #define MYSERIAL0 Serial1
43
+  #define MYSERIAL0 customizedSerial1
44 44
 #elif SERIAL_PORT == 0
45 45
   #define MYSERIAL0 Serial
46 46
 #elif SERIAL_PORT == 1
@@ -58,7 +58,7 @@
58 58
     #error "SERIAL_PORT_2 must be different from SERIAL_PORT. Please update your configuration."
59 59
   #endif
60 60
   #if SERIAL_PORT_2 == -1
61
-    #define MYSERIAL1 Serial1
61
+    #define MYSERIAL1 customizedSerial2
62 62
   #elif SERIAL_PORT_2 == 0
63 63
     #define MYSERIAL1 Serial
64 64
   #elif SERIAL_PORT_2 == 1

Loading…
取消
儲存