Use lowercase names for serial instances
This commit is contained in:
parent
1e2deff4fd
commit
4b9d5cd352
5 changed files with 9 additions and 9 deletions
|
|
@ -52,12 +52,12 @@ typedef unsigned long millis_t;
|
|||
|
||||
#ifdef USBCON
|
||||
#if ENABLED(BLUETOOTH)
|
||||
#define MYSERIAL bt
|
||||
#define MYSERIAL bluetoothSerial
|
||||
#else
|
||||
#define MYSERIAL Serial
|
||||
#endif // BLUETOOTH
|
||||
#else
|
||||
#define MYSERIAL MSerial
|
||||
#define MYSERIAL customizedSerial
|
||||
#endif
|
||||
|
||||
#define SERIAL_CHAR(x) MYSERIAL.write(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue