Update examples

This commit is contained in:
Rocky04
2023-08-07 12:04:22 +00:00
parent 9560d0813f
commit 45af3d6a83
20 changed files with 34 additions and 20 deletions

View File

@@ -101,7 +101,7 @@ void tud_suspend_cb(bool remote_wakeup_en)
// Invoked when usb bus is resumed
void tud_resume_cb(void)
{
blink_interval_ms = BLINK_MOUNTED;
blink_interval_ms = tud_mounted() ? BLINK_MOUNTED : BLINK_NOT_MOUNTED;
}
//--------------------------------------------------------------------+