diff options
| author | hathach <[email protected]> | 2018-07-13 14:26:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-13 14:44:44 +0700 |
| commit | 584b6f716dca8831b0483641d1a4e779b4bd5694 (patch) | |
| tree | c2149afe4e010b79f013782d273db2596e742b22 /src/device/usbd.h | |
| parent | ffdd925854c3fda233f41c929b5cf115cfdb7a62 (diff) | |
more clean up
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 8 |
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
}
|
