diff options
| author | HiFiPhile <[email protected]> | 2026-03-06 11:59:25 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2026-03-06 11:59:25 +0100 |
| commit | c186063a6387ab6649fcc3e6e450ced854d20d03 (patch) | |
| tree | ddd40172328355b10da04b84a5f97b5d706fe914 /examples/host/bare_api/src | |
| parent | ee6f4f6f2a1f07db7c145551b779ce8cf878c2ac (diff) | |
| parent | 06a4c6d7190ef83f76b2a65496f2a48a54a8c134 (diff) | |
Merge remote-tracking branch 'tinyusb/master' into samx7x_update
Diffstat (limited to 'examples/host/bare_api/src')
| -rw-r--r-- | examples/host/bare_api/src/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c index c693d6b00..81d4d8731 100644 --- a/examples/host/bare_api/src/main.c +++ b/examples/host/bare_api/src/main.c @@ -74,8 +74,6 @@ int main(void) { tuh_task(); led_blinking_task(); } - - return 0; } /*------------- TinyUSB Callbacks -------------*/ @@ -335,7 +333,7 @@ void led_blinking_task(void) { static bool led_state = false; // Blink every interval ms - if (board_millis() - start_ms < interval_ms) { + if (tusb_time_millis_api() - start_ms < interval_ms) { return; // not enough time } start_ms += interval_ms; |
