8000 Make esp32-hal-tinyusb.h conditional on tinyusb (#4155) · joeycastillo/arduino-esp32@9f8b433 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f8b433

Browse files
authored
Make esp32-hal-tinyusb.h conditional on tinyusb (espressif#4155)
1 parent b7c3607 commit 9f8b433

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp32/esp32-hal-tinyusb.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "esp32-hal.h"
1717

1818
#if CONFIG_IDF_TARGET_ESP32S2
19+
#if CONFIG_USB_ENABLED
1920

2021
#ifdef __cplusplus
2122
extern "C" {
@@ -98,4 +99,5 @@ uint8_t tinyusb_get_free_out_endpoint(void);
9899
}
99100
#endif
100101

102+
#endif /* CONFIG_USB_ENABLED */
101103
#endif /* CONFIG_IDF_TARGET_ESP32S2 */

0 commit comments

Comments
 (0)
0