From 718dd5c8056b27700c4ebeb6f203189c94b443b7 Mon Sep 17 00:00:00 2001 From: TomW Date: Mon, 14 Jul 2025 21:33:33 +0100 Subject: [PATCH] Add TinyUSB serial library support --- SLIPEncodedSerial.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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