Fix vendor class reset.

This commit is contained in:
HiFiPhile 2024-09-28 11:24:35 +02:00 committed by hathach
parent 254167bdbd
commit 53989a99f6
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52

View File

@ -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);
}
}