summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-01-30 19:24:12 +0100
committerHiFiPhile <[email protected]>2026-01-31 00:21:23 +0100
commitfd369937279594eb8c48a81eabebb7f66bd8306a (patch)
treee149e990b3bec3b3c280eca6b67dffdc585abdbc /src/device
parent78411bbefa2187bee3b9b99561a34aa75c2d562b (diff)
dwc2: add vbus sense config
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index bd5a3c395..f923b1c56 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -41,6 +41,7 @@ enum {
typedef struct {
uint16_t bm_double_buffered; // bitmap of IN endpoints to be double buffered, only effective for bulk endpoints
+ bool vbus_sensing; // Vbus pin is used for device connection detection, mandatory for tud_umount_cb()
} tud_configure_dwc2_t;
typedef union {