Skip to content

Commit

Permalink
Fix vendor class reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
HiFiPhile committed Sep 28, 2024
1 parent c8ab65f commit 8d345cd
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 8d345cd

Please sign in to comment.