set _XUA_ENABLE_BOS_DESC

This commit is contained in:
Steven Dan
2026-02-02 16:25:18 +08:00
parent 04bb601a94
commit f758605218

View File

@@ -21,7 +21,7 @@
// Enable BOS descriptor only when DFU is enabled since the only capability we advertise is the MSOS desc with DFU interface enumerating as WinUSB. // Enable BOS descriptor only when DFU is enabled since the only capability we advertise is the MSOS desc with DFU interface enumerating as WinUSB.
// Enumerating with 0 capabilities doesn't seem to be allowed // Enumerating with 0 capabilities doesn't seem to be allowed
#if (XUA_DFU_EN) #if (XUA_DFU_EN)
#define _XUA_ENABLE_BOS_DESC (0) //alexy 20250822 #define _XUA_ENABLE_BOS_DESC (1) //alexy 20250822
#else #else
#define _XUA_ENABLE_BOS_DESC (0) #define _XUA_ENABLE_BOS_DESC (0)
#endif #endif