From ee6ed084f48933ec884ceb5cdce2b265df37d78a Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 30 Mar 2019 15:03:35 +0700 Subject: clean up text --- src/device/usbd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/device/usbd.h b/src/device/usbd.h index 27bfe305b..2365d645e 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -76,16 +76,16 @@ bool tud_remote_wakeup(void); // Application Callbacks (WEAK is optional) //--------------------------------------------------------------------+ -// Callback invoked when device is mounted (configured) +// Invoked when device is mounted (configured) ATTR_WEAK void tud_mount_cb(void); -// Callback invoked when device is unmounted +// Invoked when device is unmounted ATTR_WEAK void tud_umount_cb(void); -// Callback invoked when device is suspended +// Invoked when usb bus is suspended, max bus current draw is 2.5 mA ATTR_WEAK void tud_suspend_cb(bool remote_wakeup_en); -// Callback invoked when device is resumed +// Invoked when usb bus is resumed ATTR_WEAK void tud_resume_cb(void); #ifdef __cplusplus -- cgit v1.3.1