diff options
| author | HiFiPhile <[email protected]> | 2024-05-09 18:00:52 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-05-09 18:00:52 +0200 |
| commit | 6c286e3b027a4873ba70961f48c52f61d3367187 (patch) | |
| tree | af1aa6892f5a0c5107bc9c8161d9084bcc915435 /examples/device/hid_multiple_interface/src | |
| parent | 337d03d36883c5067d102900e6ce14e98ce3f8f0 (diff) | |
| parent | 63e64f374bf2023261bcf6733fdf53a73ccca6e6 (diff) | |
Merge branch 'master' into patch-5
Diffstat (limited to 'examples/device/hid_multiple_interface/src')
| -rw-r--r-- | examples/device/hid_multiple_interface/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/hid_multiple_interface/src/main.c b/examples/device/hid_multiple_interface/src/main.c index 516c342fa..30b4ae055 100644 --- a/examples/device/hid_multiple_interface/src/main.c +++ b/examples/device/hid_multiple_interface/src/main.c @@ -105,7 +105,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; } //--------------------------------------------------------------------+ |
