Skip to content

Commit

Permalink
Merge pull request #2820 from HiFiPhile/vendor_fix
Browse files Browse the repository at this point in the history
Fix vendor class reset.
  • Loading branch information
hathach authored Sep 30, 2024
2 parents 254167b + 53989a9 commit ad6e1ec
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 ad6e1ec

Please sign in to comment.