Skip to content

Commit

Permalink
Update src/nrf_to_nrf.h per @2bndy5
Browse files Browse the repository at this point in the history
Co-authored-by: Brendan <[email protected]>
  • Loading branch information
TMRh20 and 2bndy5 authored Mar 4, 2024
1 parent 83b636d commit 04ad2ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/nrf_to_nrf.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
#ifndef __nrf52840_nrf24l01_H__
#define __nrf52840_nrf24l01_H__
#include <Arduino.h>
#ifndef __MBED__
#include "Adafruit_TinyUSB.h" //Needed for Serial.print on non-MBED enabled core
#if !defined(__MBED__) || defined(USE_TINYUSB)
// Needed for Serial.print on non-MBED enabled or adafruit-based nRF52 cores
#include "Adafruit_TinyUSB.h"
#endif

#define NRF52_RADIO_LIBRARY
Expand Down

0 comments on commit 04ad2ba

Please sign in to comment.