Skip to content

Commit

Permalink
main leds: tick overflow?
Browse files Browse the repository at this point in the history
  • Loading branch information
SpComb committed Oct 21, 2023
1 parent 3b78c90 commit 69d5833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/leds_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ static bool leds_update_active(struct leds_state *state)

static EventBits_t leds_task_wait(struct leds_state *state)
{
// XXX: how to handle tick overflow? with uint32_t TickType @ 100Hz, this will likely bug out after ~497 days of uptime...
TickType_t tick;

// first tick to wait until
Expand Down

0 comments on commit 69d5833

Please sign in to comment.