diff options
| author | ZakDanger <[email protected]> | 2025-05-09 20:44:11 +1000 |
|---|---|---|
| committer | ZakDanger <[email protected]> | 2025-05-09 20:44:11 +1000 |
| commit | 6b30a61bdbeeccf2b9447971c17d75946881b64f (patch) | |
| tree | 1b9efaa2e20bde06b8fc98241da75e8f44133091 /src | |
| parent | ae8c00f5d79629eddb22b9b442cd72f892b5eef6 (diff) | |
revert 'end fix'
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/vendor/vendor_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/vendor/vendor_device.c b/src/class/vendor/vendor_device.c index 6f41a9f3b..8d6e980a2 100644 --- a/src/class/vendor/vendor_device.c +++ b/src/class/vendor/vendor_device.c @@ -196,7 +196,7 @@ void vendord_reset(uint8_t rhport) { uint16_t vendord_open(uint8_t rhport, const tusb_desc_interface_t* desc_itf, uint16_t max_len) { TU_VERIFY(TUSB_CLASS_VENDOR_SPECIFIC == desc_itf->bInterfaceClass, 0); - const uint8_t* p_desc = tu_desc_next(p_desc); + const uint8_t* p_desc = tu_desc_next(desc_itf); const uint8_t* desc_end = (const uint8_t*)desc_itf + max_len; // Find available interface |
