summaryrefslogtreecommitdiff
path: root/examples/device/dfu_runtime/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-10 11:02:20 +0700
committerhathach <[email protected]>2025-11-10 11:02:20 +0700
commit6364a4df7a6e3a2b3583fe11a88665f06d18628b (patch)
tree45e0a0b2f8acfd811cce050475fc828bc2e034d2 /examples/device/dfu_runtime/src/main.c
parent989acc15287f86bb1fd3f262d69b3dc9c9c28da8 (diff)
parent96f35fc0a559aa09da70e0dede5a43081615723f (diff)
Merge branch 'master' into fork/c1570/improved_docs
Diffstat (limited to 'examples/device/dfu_runtime/src/main.c')
-rw-r--r--examples/device/dfu_runtime/src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/dfu_runtime/src/main.c b/examples/device/dfu_runtime/src/main.c
index 37cb80093..5de651bcd 100644
--- a/examples/device/dfu_runtime/src/main.c
+++ b/examples/device/dfu_runtime/src/main.c
@@ -132,7 +132,9 @@ void led_blinking_task(void)
static bool led_state = false;
// Blink every interval ms
- if ( board_millis() - start_ms < blink_interval_ms) return; // not enough time
+ if (board_millis() - start_ms < blink_interval_ms) {
+ return; // not enough time
+ }
start_ms += blink_interval_ms;
board_led_write(led_state);