diff options
| author | HiFiPhile <[email protected]> | 2026-06-22 21:27:05 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2026-06-22 21:27:05 +0200 |
| commit | 41e9eaa65a935136085d78ec4b99c81ff991b560 (patch) | |
| tree | 69b3897c3bcdc4a125df0dd3ff89156be8cb476f /src/device | |
| parent | f94e1f575e86a5f926e96f0b35f77fdb26228e60 (diff) | |
usbd: add osal_spin_deinit() to tud_deinit()
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index 339ccf4b4..abf74b1f5 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -593,6 +593,8 @@ bool tud_deinit(uint8_t rhport) { _usbd_mutex = NULL; #endif + osal_spin_deinit(&_usbd_spin); + _usbd_rhport = RHPORT_INVALID; return true; |
