mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
usbd: add osal_spin_deinit() to tud_deinit()
Signed-off-by: HiFiPhile <admin@hifiphile.com>
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user