From 2cc7204fb0449049caf73476079a64b3cf0f6c86 Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 12 Mar 2024 21:34:28 +0100 Subject: [PATCH] Do not enforce tinyusb for serial if _MBED_ is not defined --- src/nrf_to_nrf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nrf_to_nrf.h b/src/nrf_to_nrf.h index 02483a5..0eaa579 100644 --- a/src/nrf_to_nrf.h +++ b/src/nrf_to_nrf.h @@ -7,7 +7,7 @@ #ifndef __nrf52840_nrf24l01_H__ #define __nrf52840_nrf24l01_H__ #include -#if !defined(__MBED__) || defined(USE_TINYUSB) +#if defined(USE_TINYUSB) // Needed for Serial.print on non-MBED enabled or adafruit-based nRF52 cores #include "Adafruit_TinyUSB.h" #endif