diff options
| author | Zixun LI <[email protected]> | 2026-06-22 21:46:11 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-22 21:46:11 +0200 |
| commit | 33a340dbbefbf75b88d4e8055ea8814b4e55c8d3 (patch) | |
| tree | 5fdd05895d8512a9f80574c826b2de93be184079 /src/host | |
| parent | cd3561bf158afd5a5718904b8139a338d1e3b67c (diff) | |
| parent | 0d7318de1b7c711359b2fff2b70e64eb8f0c2e91 (diff) | |
Merge pull request #3721 from renjieah/pr-osal-spin-deinit
fix: release hardware spinlock in tud_deinit/tuh_deinit
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 9d159985e..de53bfd03 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -652,6 +652,8 @@ bool tuh_deinit(uint8_t rhport) { osal_mutex_delete(_usbh_mutex); _usbh_mutex = NULL; #endif + + osal_spin_deinit(&_usbh_spin); } return true; |
