Skip to content

Commit

Permalink
Merge pull request #20 from tobigun/do-not-enforce-tinyusb
Browse files Browse the repository at this point in the history
Do not enforce tinyusb for serial if _MBED_ is not defined
  • Loading branch information
TMRh20 authored Mar 14, 2024
2 parents 29b8745 + 2cc7204 commit e9c322e
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 e9c322e

Please sign in to comment.