Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
fix: format touch-up in watchdog module
Browse files Browse the repository at this point in the history
Changed according to nordic clang format.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
  • Loading branch information
simensrostad committed May 27, 2020
1 parent 3ac54ee commit a98833d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/watchdog/watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ static void primary_feed_worker(struct k_work *work_desc)
static int watchdog_timeout_install(struct wdt_data_storage *data)
{
static const struct wdt_timeout_cfg wdt_settings = {
.window = {
.window =
{
.min = 0,
.max = CONFIG_CAT_TRACKER_WATCHDOG_TIMEOUT_MSEC,
},
.callback = NULL,
.flags = WDT_FLAG_RESET_SOC
.callback = NULL,
.flags = WDT_FLAG_RESET_SOC
};

__ASSERT_NO_MSG(data != NULL);
Expand Down

0 comments on commit a98833d

Please sign in to comment.