瀏覽代碼

Remove extraneous USBCON defines for AT90USB boards

USBCON is definied by serial.h pullikng in MarlinConfig.h which in turn pulls in Arduino.h.  Defining in later includes has shown to cause compile issues so removing all extraneous calls for and potentially easier future linker troubleshooting.
more USBCON unification
Dave Johnson 7 年之前
父節點
當前提交
4718c09c48

+ 0
- 1
Marlin/pins_5DPRINT.h 查看文件

@@ -74,7 +74,6 @@
74 74
 #define DEFAULT_MACHINE_NAME "Makibox"
75 75
 #define BOARD_NAME           "5DPrint D8"
76 76
 
77
-#define USBCON 1286  // Disable MarlinSerial etc.
78 77
 #define LARGE_FLASH        true
79 78
 
80 79
 //

+ 0
- 2
Marlin/pins_BRAINWAVE.h 查看文件

@@ -73,8 +73,6 @@
73 73
 
74 74
 #define BOARD_NAME         "Brainwave"
75 75
 
76
-#define USBCON 646  // Disable MarlinSerial etc.
77
-
78 76
 //
79 77
 // Limit Switches
80 78
 //

+ 0
- 1
Marlin/pins_BRAINWAVE_PRO.h 查看文件

@@ -80,7 +80,6 @@
80 80
 
81 81
 #define BOARD_NAME         "Brainwave Pro"
82 82
 
83
-#define USBCON 1286  // Disable MarlinSerial etc.
84 83
 #define LARGE_FLASH        true
85 84
 
86 85
 //

+ 0
- 1
Marlin/pins_PRINTRBOARD.h 查看文件

@@ -67,7 +67,6 @@
67 67
 
68 68
 #define BOARD_NAME         "Printrboard"
69 69
 
70
-#define USBCON 1286  // Disable MarlinSerial etc.
71 70
 #define LARGE_FLASH        true
72 71
 
73 72
 // Disable JTAG pins so they can be used for the Extrudrboard

+ 0
- 1
Marlin/pins_SAV_MKI.h 查看文件

@@ -69,7 +69,6 @@
69 69
 #define DEFAULT_SOURCE_CODE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
70 70
 #define BOARD_NAME              "SAV MkI"
71 71
 
72
-#define USBCON 1286  // Disable MarlinSerial etc.
73 72
 #define LARGE_FLASH        true
74 73
 
75 74
 //

+ 0
- 1
Marlin/pins_TEENSY2.h 查看文件

@@ -112,7 +112,6 @@
112 112
 
113 113
 #define BOARD_NAME         "Teensy++2.0"
114 114
 
115
-#define USBCON 1286  // Disable MarlinSerial etc.
116 115
 #define LARGE_FLASH        true
117 116
 
118 117
 //

+ 0
- 1
Marlin/pins_TEENSYLU.h 查看文件

@@ -79,7 +79,6 @@
79 79
 
80 80
 #define BOARD_NAME         "Teensylu"
81 81
 
82
-#define USBCON 1286  // Disable MarlinSerial etc.
83 82
 #define LARGE_FLASH        true
84 83
 
85 84
 

Loading…
取消
儲存