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

Commit

Permalink
fix: added led behaviour
Browse files Browse the repository at this point in the history
Device was not displaying the correct LED
after movement timeout cloud update.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
  • Loading branch information
simensrostad committed Mar 24, 2020
1 parent f5ac131 commit 5d65427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ static void mov_timeout_work_fn(struct k_work *work)

k_delayed_work_submit(&mov_timeout_work,
K_SECONDS(cloud_data.mov_timeout));
k_delayed_work_submit(&led_device_mode_set_work, K_SECONDS(15));
}

static void work_init(void)
Expand Down

0 comments on commit 5d65427

Please sign in to comment.