Skip to content

Commit

Permalink
Do not enforce tinyusb for serial if _MBED_ is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
tobigun committed Mar 14, 2024
1 parent 29b8745 commit 2cc7204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nrf_to_nrf.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef __nrf52840_nrf24l01_H__
#define __nrf52840_nrf24l01_H__
#include <Arduino.h>
#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
Expand Down

0 comments on commit 2cc7204

Please sign in to comment.