summaryrefslogtreecommitdiff
path: root/src/device/usbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/usbd.h')
-rw-r--r--src/device/usbd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index ac577bcef..7fc440637 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -78,18 +78,16 @@ bool tud_mounted(void);
// APPLICATION CALLBACK
//--------------------------------------------------------------------+
/** \brief Callback function that will be invoked device is mounted (configured) by USB host
- * \param[in] rhport USB Controller ID of the interface
* \note This callback should be used by Application to \b set-up application data
*/
-void tud_mount_cb(uint8_t rhport);
+void tud_mount_cb(void);
/** \brief Callback function that will be invoked when device is unmounted (bus reset/unplugged)
- * \param[in] rhport USB Controller ID of the interface
* \note This callback should be used by Application to \b tear-down application data
*/
-void tud_umount_cb(uint8_t rhport);
+void tud_umount_cb(void);
-//void tud_device_suspended_cb(uint8_t rhport);
+//void tud_device_suspended_cb(void);
#ifdef __cplusplus
}