mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-16 10:20:47 +00:00
Merge pull request #2820 from HiFiPhile/vendor_fix
Fix vendor class reset.
This commit is contained in:
commit
ad6e1ec782
2
src/class/vendor/vendor_device.c
vendored
2
src/class/vendor/vendor_device.c
vendored
@ -185,6 +185,8 @@ void vendord_reset(uint8_t rhport) {
|
||||
tu_memclr(p_itf, ITF_MEM_RESET_SIZE);
|
||||
tu_edpt_stream_clear(&p_itf->rx.stream);
|
||||
tu_edpt_stream_clear(&p_itf->tx.stream);
|
||||
tu_edpt_stream_close(&p_itf->rx.stream);
|
||||
tu_edpt_stream_close(&p_itf->tx.stream);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user