diff options
| author | hathach <[email protected]> | 2026-08-21 17:04:34 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-08-21 17:04:34 +0700 |
| commit | c8e0e94d889cd9b9a423d36c2b194d50805d8272 (patch) | |
| tree | d65fb7848c2365b45279a6727f001022f2ba7507 /examples/dual/dynamic_switch | |
| parent | f17be6770b601a32bdfcc1459e8851becf7fea84 (diff) | |
examples: keep CFG_TUH_VENDOR 0 in tusb_config.h
Removing the obsolete host vendor driver also dropped the `#define CFG_TUH_VENDOR 0`
line from the six example configs that carried it. Put it back: host vendor is
coming, and the configs are where a reader looks for the set of host classes an
example can turn on.
Restored byte-identical to the pre-removal state, each file keeping its own column
alignment. The define is inert today - nothing under src/, hw/ or tools/ reads
CFG_TUH_VENDOR - and it is 0 everywhere, so ci_select still reads the vendor class
as enabled by no example and a change to it still selects nothing.
Note the option's default in src/tusb_option.h is still gone; implementing the
driver will need that back alongside the usbh driver-table entry.
Diffstat (limited to 'examples/dual/dynamic_switch')
| -rw-r--r-- | examples/dual/dynamic_switch/src/tusb_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/dual/dynamic_switch/src/tusb_config.h b/examples/dual/dynamic_switch/src/tusb_config.h index c570a2499..f3e016305 100644 --- a/examples/dual/dynamic_switch/src/tusb_config.h +++ b/examples/dual/dynamic_switch/src/tusb_config.h @@ -148,6 +148,7 @@ extern "C" { #define CFG_TUH_CDC 0 #define CFG_TUH_HID 0 #define CFG_TUH_MSC 0 +#define CFG_TUH_VENDOR 0 // max endpoint pair supported by each device #define CFG_TUH_ENDPOINT_MAX 16 |
