diff options
| author | hathach <[email protected]> | 2026-02-27 23:51:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-02-28 00:01:40 +0700 |
| commit | 8444c25ab6bc841bad81fd04afc1e66a9d57a115 (patch) | |
| tree | 125bdcf7c4a0e63d46cad36537e9633ce5e7174e /examples/host/bare_api/src | |
| parent | 7ea02fd6c9e376679bc1fe025bb73e43664e17c6 (diff) | |
replace board_millis() with tusb_time_millis_api()
Diffstat (limited to 'examples/host/bare_api/src')
| -rw-r--r-- | examples/host/bare_api/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c index c693d6b00..ced2eaa32 100644 --- a/examples/host/bare_api/src/main.c +++ b/examples/host/bare_api/src/main.c @@ -335,7 +335,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; |
