Ver código fonte

Fix DUE HAL serial defines (#15594)

Evgeny Zyatkov 5 anos atrás
pai
commit
9470554f63
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      Marlin/src/HAL/HAL_DUE/HAL.h

+ 2
- 2
Marlin/src/HAL/HAL_DUE/HAL.h Ver arquivo

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

Carregando…
Cancelar
Salvar