Skip to content

Commit f016dcf

Browse files
committed
nrf52 core is including the wrong Adafruit_USBD_CDC.h adafruit#491
1 parent b0634ba commit f016dcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/arduino/Adafruit_USBD_CDC.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@
2727
// esp32 use built-in core cdc
2828
#if CFG_TUD_CDC && !defined(ARDUINO_ARCH_ESP32)
2929

30+
#include "Adafruit_USBD_CDC.h"
31+
3032
#include "Arduino.h"
3133

3234
#include "Adafruit_TinyUSB_API.h"
3335

34-
#include "Adafruit_USBD_CDC.h"
3536
#include "Adafruit_USBD_Device.h"
3637

3738
#ifndef TINYUSB_API_VERSION

0 commit comments

Comments
 (0)