summaryrefslogtreecommitdiff
path: root/examples/device/dfu_runtime/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-03-04 17:34:10 +0700
committerhathach <[email protected]>2026-03-04 17:34:10 +0700
commit2dcb1a3ee2f553f9d1a48cb8ec5d11ed51f28d1c (patch)
tree40c22d3494568236ff9f2e6aad1462a67136ea1c /examples/device/dfu_runtime/src
parent30af158af9ada161d31e02d08548f78390183920 (diff)
parent13e0b0c4f149016c829f039dc082151bca01174f (diff)
Merge branch 'master' into dwc2_deinit
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;