Compiler defines USBCON for USB devices (PR#2433)
This commit is contained in:
parent
7268d46508
commit
e83575537a
12 changed files with 12 additions and 24 deletions
|
|
@ -43,7 +43,7 @@ typedef unsigned long millis_t;
|
|||
#define analogInputToDigitalPin(p) ((p) + 0xA0)
|
||||
#endif
|
||||
|
||||
#ifdef AT90USB
|
||||
#ifdef USBCON
|
||||
#include "HardwareSerial.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ typedef unsigned long millis_t;
|
|||
|
||||
#include "WString.h"
|
||||
|
||||
#ifdef AT90USB
|
||||
#ifdef USBCON
|
||||
#ifdef BTENABLED
|
||||
#define MYSERIAL bt
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue