diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/host/usbh.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index d60feebb4..9a7511fc8 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -558,9 +558,6 @@ bool tuh_deinit(uint8_t rhport) { _usbh_mutex = NULL; #endif - // Release the spinlock claimed by osal_spin_init() in tuh_rhport_init(). - // Pairs with that init; without it each init/deinit cycle leaks a hardware - // spinlock and a few host rebuilds exhaust the pool (panic in claim). osal_spin_deinit(&_usbh_spin); } |
