summaryrefslogtreecommitdiff
path: root/src/host/usbh.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-05 20:34:45 +0700
committerhathach <[email protected]>2020-09-05 21:12:43 +0700
commit9a6d7c648e3f41529fad2e2af7e01dc5c56003ac (patch)
treecdd9fac963c0c9ce3dd9ee9c4b6db42ab0a153a9 /src/host/usbh.h
parent828f720207d4ded25ed533ea6c52da49c799b476 (diff)
clean up enum task
Diffstat (limited to 'src/host/usbh.h')
-rw-r--r--src/host/usbh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h
index 56a5ce72f..1774666f1 100644
--- a/src/host/usbh.h
+++ b/src/host/usbh.h
@@ -90,7 +90,7 @@ static inline bool tuh_device_is_configured(uint8_t dev_addr)
//--------------------------------------------------------------------+
// APPLICATION CALLBACK
//--------------------------------------------------------------------+
-TU_ATTR_WEAK uint8_t tuh_device_attached_cb (tusb_desc_device_t const *p_desc_device);
+TU_ATTR_WEAK uint8_t tuh_attach_cb (tusb_desc_device_t const *desc_device);
/** Callback invoked when device is mounted (configured) */
TU_ATTR_WEAK void tuh_mount_cb (uint8_t dev_addr);