Compiler defines USBCON for USB devices (PR#2433)

This commit is contained in:
Richard Wackerbarth
2015-05-24 11:32:34 -05:00
parent 7268d46508
commit e83575537a
12 changed files with 12 additions and 24 deletions

View File

@@ -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