diff options
| author | Ha Thach <[email protected]> | 2026-03-04 15:24:11 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-04 15:24:11 +0700 |
| commit | 13e0b0c4f149016c829f039dc082151bca01174f (patch) | |
| tree | 512d9340830a3cab772a7e89a1dc271d31446cf7 /examples/host/bare_api | |
| parent | a8a4db3721cccd32c8e998a7aa816719294d7a66 (diff) | |
| parent | e4950e9b693171f7bb47d8c1f800ece8827242ec (diff) | |
Merge pull request #3490 from Precidata/non-blocking-host-v2
Fully asynchrounous host code (v2)
Diffstat (limited to 'examples/host/bare_api')
| -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; |
