diff options
| author | Ha Thach <[email protected]> | 2025-11-05 18:34:09 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-05 18:34:09 +0700 |
| commit | 58b4104015ec10089e8790febe8b3b6cef8b4b09 (patch) | |
| tree | b619bbd1b1c002132c4b810d651abfe47b19d9bd /examples/device/dfu_runtime/src/main.c | |
| parent | a6c16d147593732028ed89292805e0e6a972e4b5 (diff) | |
| parent | 1f04fe7924e8777c1583323171c0e1cabcb29062 (diff) | |
Merge pull request #3326 from hathach/fix-code-alerts
Fix code alerts
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); |
