diff --git a/SLIPEncodedSerial.h b/SLIPEncodedSerial.h index 1e135c0..a52eba9 100644 --- a/SLIPEncodedSerial.h +++ b/SLIPEncodedSerial.h @@ -20,7 +20,9 @@ Extends the Serial class to encode SLIP over serial //import the serial USB object -#if defined(TEENSYDUINO) && defined (__arm__) +#if defined(USE_TINYUSB) +#include +#elif defined(TEENSYDUINO) && defined (__arm__) #if !defined(USB_HOST_TEENSY36_) #include #endif