aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_usbh.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/hal_usbh.h')
-rw-r--r--os/hal/include/hal_usbh.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/os/hal/include/hal_usbh.h b/os/hal/include/hal_usbh.h
index bc79880..2684aca 100644
--- a/os/hal/include/hal_usbh.h
+++ b/os/hal/include/hal_usbh.h
@@ -373,14 +373,7 @@ extern "C" {
usbhEPCloseS(ep);
osalSysUnlock();
}
- bool usbhEPResetS(usbh_ep_t *ep);
- static inline bool usbhEPReset(usbh_ep_t *ep) {
- bool ret;
- osalSysLock();
- ret = usbhEPResetS(ep);
- osalSysUnlock();
- return ret;
- }
+ bool usbhEPReset(usbh_ep_t *ep);
static inline bool usbhEPIsPeriodic(usbh_ep_t *ep) {
osalDbgCheck(ep != NULL);
return (ep->type & 1) != 0;