summaryrefslogtreecommitdiff
path: root/examples/device/dfu_runtime/src
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-03-06 11:59:25 +0100
committerHiFiPhile <[email protected]>2026-03-06 11:59:25 +0100
commitc186063a6387ab6649fcc3e6e450ced854d20d03 (patch)
treeddd40172328355b10da04b84a5f97b5d706fe914 /examples/device/dfu_runtime/src
parentee6f4f6f2a1f07db7c145551b779ce8cf878c2ac (diff)
parent06a4c6d7190ef83f76b2a65496f2a48a54a8c134 (diff)
Merge remote-tracking branch 'tinyusb/master' into samx7x_update
Diffstat (limited to 'examples/device/dfu_runtime/src')
-rw-r--r--examples/device/dfu_runtime/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/dfu_runtime/src/main.c b/examples/device/dfu_runtime/src/main.c
index 5de651bcd..6f412e8de 100644
--- a/examples/device/dfu_runtime/src/main.c
+++ b/examples/device/dfu_runtime/src/main.c
@@ -132,7 +132,7 @@ void led_blinking_task(void)
static bool led_state = false;
// Blink every interval ms
- if (board_millis() - start_ms < blink_interval_ms) {
+ if (tusb_time_millis_api() - start_ms < blink_interval_ms) {
return; // not enough time
}
start_ms += blink_interval_ms;