Browse Source

Rename BTENABLED to BLUETOOTH

- For some reason it’s easy to forget what BT stands for, but it
doesn’t need an abbreviation.
Scott Lahteine 9 years ago
parent
commit
1e2deff4fd

+ 2
- 2
Marlin/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/Marlin.h View File

@@ -51,11 +51,11 @@ typedef unsigned long millis_t;
51 51
 #include "WString.h"
52 52
 
53 53
 #ifdef USBCON
54
-  #if ENABLED(BTENABLED)
54
+  #if ENABLED(BLUETOOTH)
55 55
     #define MYSERIAL bt
56 56
   #else
57 57
     #define MYSERIAL Serial
58
-  #endif // BTENABLED
58
+  #endif // BLUETOOTH
59 59
 #else
60 60
   #define MYSERIAL MSerial
61 61
 #endif

+ 1
- 1
Marlin/MarlinSerial.cpp View File

@@ -287,6 +287,6 @@ MarlinSerial MSerial;
287 287
 #endif // !USBCON
288 288
 
289 289
 // For AT90USB targets use the UART for BT interfacing
290
-#if defined(USBCON) && ENABLED(BTENABLED)
290
+#if defined(USBCON) && ENABLED(BLUETOOTH)
291 291
   HardwareSerial bt;
292 292
 #endif

+ 1
- 1
Marlin/MarlinSerial.h View File

@@ -153,7 +153,7 @@ extern MarlinSerial MSerial;
153 153
 #endif // !USBCON
154 154
 
155 155
 // Use the UART for BT in AT90USB configurations
156
-#if defined(USBCON) && ENABLED(BTENABLED)
156
+#if defined(USBCON) && ENABLED(BLUETOOTH)
157 157
   extern HardwareSerial bt;
158 158
 #endif
159 159
 

+ 4
- 0
Marlin/SanityCheck.h View File

@@ -374,4 +374,8 @@
374 374
     #error SDCARDDETECTINVERTED is now SD_DETECT_INVERTED. Please update your configuration.
375 375
   #endif
376 376
 
377
+  #ifdef BTENABLED
378
+    #error BTENABLED has been replaced with BLUETOOTH. Please update your configuration.
379
+  #endif
380
+
377 381
 #endif //SANITYCHECK_H

+ 2
- 2
Marlin/configurator/config/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 1
- 1
Marlin/configurator/index.html View File

@@ -42,7 +42,7 @@
42 42
           <label>Baud Rate:</label><select name="BAUDRATE"></select>
43 43
 
44 44
           <label>AT90USB BT IF:</label>
45
-            <input name="BTENABLED" type="checkbox" value="1" checked />
45
+            <input name="BLUETOOTH" type="checkbox" value="1" checked />
46 46
 
47 47
           <label class="newline">Motherboard:</label><select name="MOTHERBOARD"></select>
48 48
 

+ 2
- 2
Marlin/example_configurations/Felix/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -62,8 +62,8 @@ Here are some standard links for getting your machine calibrated:
62 62
 // This determines the communication speed of the printer
63 63
 #define BAUDRATE 250000
64 64
 
65
-// This enables the serial port associated to the Bluetooth interface
66
-//#define BTENABLED              // Enable BT interface on AT90USB devices
65
+// Enable the Bluetooth serial interface on AT90USB devices
66
+//#define BLUETOOTH
67 67
 
68 68
 // The following define selects which electronics board you have.
69 69
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 115200
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/K8200/Configuration.h View File

@@ -68,8 +68,8 @@ Here are some standard links for getting your machine calibrated:
68 68
 // :[2400,9600,19200,38400,57600,115200,250000]
69 69
 #define BAUDRATE 250000
70 70
 
71
-// This enables the serial port associated to the Bluetooth interface
72
-//#define BTENABLED              // Enable BT interface on AT90USB devices
71
+// Enable the Bluetooth serial interface on AT90USB devices
72
+//#define BLUETOOTH
73 73
 
74 74
 // The following define selects which electronics board you have.
75 75
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 115200
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -88,8 +88,8 @@ Here are some standard links for getting your machine calibrated:
88 88
 // :[2400,9600,19200,38400,57600,115200,250000]
89 89
 #define BAUDRATE 250000
90 90
 
91
-// This enables the serial port associated to the Bluetooth interface
92
-//#define BTENABLED              // Enable BT interface on AT90USB devices
91
+// Enable the Bluetooth serial interface on AT90USB devices
92
+//#define BLUETOOTH
93 93
 
94 94
 // The following define selects which electronics board you have.
95 95
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 115200
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -67,8 +67,8 @@ Here are some standard links for getting your machine calibrated:
67 67
 // :[2400,9600,19200,38400,57600,115200,250000]
68 68
 #define BAUDRATE 250000
69 69
 
70
-// This enables the serial port associated to the Bluetooth interface
71
-//#define BTENABLED              // Enable BT interface on AT90USB devices
70
+// Enable the Bluetooth serial interface on AT90USB devices
71
+//#define BLUETOOTH
72 72
 
73 73
 // The following define selects which electronics board you have.
74 74
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/makibox/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

+ 2
- 2
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -63,8 +63,8 @@ Here are some standard links for getting your machine calibrated:
63 63
 // :[2400,9600,19200,38400,57600,115200,250000]
64 64
 #define BAUDRATE 250000
65 65
 
66
-// This enables the serial port associated to the Bluetooth interface
67
-//#define BTENABLED              // Enable BT interface on AT90USB devices
66
+// Enable the Bluetooth serial interface on AT90USB devices
67
+//#define BLUETOOTH
68 68
 
69 69
 // The following define selects which electronics board you have.
70 70
 // Please choose the name from boards.h that matches your setup

Loading…
Cancel
Save