Skip to content

Commit

Permalink
Fix vendor class reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
HiFiPhile authored and hathach committed Sep 30, 2024
1 parent 254167b commit 53989a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/class/vendor/vendor_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 53989a9

Please sign in to comment.