diff options
| author | hathach <[email protected]> | 2024-11-27 11:35:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-11-27 11:35:21 +0700 |
| commit | 9e4b855e5309976ead84d6cc65288e0e03f27ba5 (patch) | |
| tree | ffafa08ced0e49dfb3930ef9b96a8c4f8fd5208b /src/host | |
| parent | 453d69517b8f7f019ac855531e9e433d9d158f37 (diff) | |
minor clean up
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 2 | ||||
| -rw-r--r-- | src/host/usbh.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 73753a713..a9a692455 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -1477,8 +1477,6 @@ static void process_enumeration(tuh_xfer_t* xfer) { dev->i_product = desc_device->iProduct; dev->i_serial = desc_device->iSerialNumber; - // if (tuh_attach_cb) tuh_attach_cb((tusb_desc_device_t*) _usbh_epbuf.ctrl); - // Get 9-byte for total length uint8_t const config_idx = CONFIG_NUM - 1; TU_LOG_USBH("Get Configuration[0] Descriptor (9 bytes)\r\n"); diff --git a/src/host/usbh.h b/src/host/usbh.h index 20fad284e..72c237573 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -96,8 +96,6 @@ typedef union { // APPLICATION CALLBACK //--------------------------------------------------------------------+ -//TU_ATTR_WEAK uint8_t tuh_attach_cb (tusb_desc_device_t const *desc_device); - // Invoked when a device is mounted (configured) TU_ATTR_WEAK void tuh_mount_cb (uint8_t daddr); |
