Skip to content

WDTの監視周期設定コマンドの追加 #1739

WDTの監視周期設定コマンドの追加

WDTの監視周期設定コマンドの追加 #1739

GitHub Actions / clang-tidy -Wextra completed Nov 15, 2024 in 1s

reviewdog [clang-tidy -Wextra] report

reported by reviewdog 🐶

Findings (1)

/home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_core/system/watchdog_timer/watchdog_timer.c|108 col 12| ISO C90 forbids mixing declarations and code [clang-diagnostic-declaration-after-statement]
uint32_t timer = CCP_get_param_from_packet(packet, 0, uint32_t );
^

Filtered Findings (0)

Annotations

Check warning on line 108 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_core/system/watchdog_timer/watchdog_timer.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_core/system/watchdog_timer/watchdog_timer.c#L108

ISO C90 forbids mixing declarations and code [clang-diagnostic-declaration-after-statement]
  uint32_t timer = CCP_get_param_from_packet(packet, 0, uint32_t );
           ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_core/system/watchdog_timer/watchdog_timer.c:108:12: warning: ISO C90 forbids mixing declarations and code [clang-diagnostic-declaration-after-statement]
  uint32_t timer = CCP_get_param_from_packet(packet, 0, uint32_t );
           ^