diff options
| author | hathach <[email protected]> | 2025-11-10 11:02:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-10 11:02:20 +0700 |
| commit | 6364a4df7a6e3a2b3583fe11a88665f06d18628b (patch) | |
| tree | 45e0a0b2f8acfd811cce050475fc828bc2e034d2 /examples/device/dfu_runtime/src/main.c | |
| parent | 989acc15287f86bb1fd3f262d69b3dc9c9c28da8 (diff) | |
| parent | 96f35fc0a559aa09da70e0dede5a43081615723f (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.c | 4 |
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); |
