clean up text

This commit is contained in:
hathach
2019-03-30 15:03:35 +07:00
parent b28cc6ddb1
commit ee6ed084f4
2 changed files with 7 additions and 5 deletions

View File

@@ -210,13 +210,15 @@ void tud_umount_cb(void)
blink_interval_ms = 250;
}
// Invoked when device is suspended
// Invoked when usb bus is suspended
// USB specs: device can only draw up to 2.5 mA from bus
void tud_suspend_cb(bool remote_wakeup_en)
{
(void) remote_wakeup_en;
blink_interval_ms = 2500;
}
// Invoked when usb bus is resumed
void tud_resume_cb(void)
{
blink_interval_ms = 1000;