summaryrefslogtreecommitdiff
path: root/examples/device/dfu_runtime/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-05 15:31:02 +0700
committerhathach <[email protected]>2025-11-05 17:34:27 +0700
commit1f04fe7924e8777c1583323171c0e1cabcb29062 (patch)
treeb619bbd1b1c002132c4b810d651abfe47b19d9bd /examples/device/dfu_runtime/src/main.c
parent8979af34c0e5b97520070bcfdffe5280de9ac24c (diff)
added .clang-format
fix more alerts disable IAR CStat since pvs-studio check is better integrated with clion
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);