ソースを参照

Fix DUE HAL serial defines (#15594)

Evgeny Zyatkov 4年前
コミット
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

読み込み中…
キャンセル
保存