Skip to content

Commit a93dd64

Browse files
committed
Add check if CFG_TUSB_MCU is already defined
1 parent 5c06f7b commit a93dd64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/arduino_tinyusb/include/tusb_config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ extern "C" {
7575
/* */
7676
/* COMMON CONFIGURATION */
7777
/* */
78-
78+
#ifndef CFG_TUSB_MCU
7979
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
80+
#endif
8081
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
8182
#define CFG_TUSB_OS OPT_OS_FREERTOS
8283

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy