diff options
author | emersion <contact@emersion.fr> | 2018-10-28 09:22:12 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-10-28 09:22:12 +0100 |
commit | 3cb4ff3ff1e689132554394920fb62bb838b696d (patch) | |
tree | 18309a7215ba8c9714739da1cab144b299f71bf1 /examples/idle.c | |
parent | 266b3df6781409facd679d680f7335e156446d17 (diff) |
idle: allow zero timeout
Prior to this commit, setting up a zero timeout resulted in a timer that never
expires, which isn't particularly useful.
This commit allows setting up timers that expire immediately, which is useful
to immediately enter idle state.
Diffstat (limited to 'examples/idle.c')
0 files changed, 0 insertions, 0 deletions