diff options
Diffstat (limited to 'src/host/usbh_pvt.h')
| -rw-r--r-- | src/host/usbh_pvt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh_pvt.h b/src/host/usbh_pvt.h index 95de915e9..d27c4baa2 100644 --- a/src/host/usbh_pvt.h +++ b/src/host/usbh_pvt.h @@ -83,8 +83,8 @@ void usbh_defer_func(osal_task_func_t func, void *param, bool in_isr); bool usbh_edpt_xfer_with_callback(uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes, tuh_xfer_cb_t complete_cb, uintptr_t user_data); -TU_ATTR_ALWAYS_INLINE -static inline bool usbh_edpt_xfer(uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes) { +TU_ATTR_ALWAYS_INLINE static inline +bool usbh_edpt_xfer(uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes) { return usbh_edpt_xfer_with_callback(dev_addr, ep_addr, buffer, total_bytes, NULL, 0); } |
