Rename BTENABLED to BLUETOOTH

- For some reason it’s easy to forget what BT stands for, but it
doesn’t need an abbreviation.
This commit is contained in:
Scott Lahteine 2015-07-31 16:55:47 -07:00 committed by Richard Wackerbarth
parent 68055a5959
commit 1e2deff4fd
22 changed files with 43 additions and 39 deletions

View File

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

View File

@ -51,11 +51,11 @@ typedef unsigned long millis_t;
#include "WString.h" #include "WString.h"
#ifdef USBCON #ifdef USBCON
#if ENABLED(BTENABLED) #if ENABLED(BLUETOOTH)
#define MYSERIAL bt #define MYSERIAL bt
#else #else
#define MYSERIAL Serial #define MYSERIAL Serial
#endif // BTENABLED #endif // BLUETOOTH
#else #else
#define MYSERIAL MSerial #define MYSERIAL MSerial
#endif #endif

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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