Skip to content

Commit 503174a

Browse files
authored
Merge pull request #202 from maxgerhardt/master
Fix compile error for missing "USB" definition
2 parents d19cf63 + a18fe2a commit 503174a

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

.github/workflows/githubci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
arduino-platform:
12+
# ESP32S3
13+
- 'feather_esp32s3'
1214
# ESP32S2
1315
- 'funhouse'
1416
- 'magtag'

examples/CDC/cdc_multi/.feather_esp32s3.test.skip

Whitespace-only changes.

examples/MassStorage/msc_sd/.feather_esp32s3.test.skip

Whitespace-only changes.

src/arduino/webusb/Adafruit_USBD_WebUSB.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
#include "Adafruit_USBD_WebUSB.h"
3030
#include "Arduino.h"
3131

32+
#ifdef ARDUINO_ARCH_ESP32
33+
#include "USB.h"
34+
#endif
35+
3236
//--------------------------------------------------------------------+
3337
// MACRO TYPEDEF CONSTANT ENUM DECLARATION
3438
//--------------------------------------------------------------------+

0 commit comments

Comments
 (0)