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:
parent
68055a5959
commit
1e2deff4fd
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue