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 e209acb commit 05cf1ba
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 05cf1ba

Please sign in to comment.