Skip to content

Commit

Permalink
Hanlde some tidy messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Oct 17, 2024
1 parent 1e1f1bd commit 88d0951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ref_app/src/mcal/host/mcal_wdg_watchdog.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@
};

template<const typename watchdog_base::base_timer_type::tick_type MyPeriod>
watchdog<MyPeriod> watchdog<MyPeriod>::my_watchdog(thread_function); // NOLINT(cert-err58-cpp)
watchdog<MyPeriod> watchdog<MyPeriod>::my_watchdog(thread_function); // NOLINT(cppcoreguidelines-avoid-non-const-global-variables,cert-err58-cpp)

template<const typename watchdog_base::base_timer_type::tick_type MyPeriod>
std::atomic_flag watchdog<MyPeriod>::my_lock = ATOMIC_FLAG_INIT;
std::atomic_flag watchdog<MyPeriod>::my_lock = ATOMIC_FLAG_INIT; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
} // namespace wdg
} // namespace mcal

Expand Down
2 changes: 1 addition & 1 deletion ref_app/src/util/utility/util_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

static auto blocking_delay(const tick_type& delay) -> void
{
const timer t_delay(delay);
const timer t_delay { delay }; // NOLINT(altera-id-dependent-backward-branch)

while(!t_delay.timeout()) // NOLINT(altera-id-dependent-backward-branch)
{
Expand Down

0 comments on commit 88d0951

Please sign in to comment.