aboutsummaryrefslogtreecommitdiff
path: root/embassy-net/src/stack.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2021-10-20 09:05:44 +0200
committerUlf Lilleengen <[email protected]>2021-10-20 14:36:16 +0200
commit6c9420978b4e7a0b83d124b0e54255df4a64a9f3 (patch)
treee5d6a91b56105a7ffae6d32a58c05157c99b765b /embassy-net/src/stack.rs
parentacce0f1d2589033ca3b2a712e6641d62ccfa1741 (diff)
Prevent overflow in std timer driver
This prevents the std time driver from overflowing when setting the next wakeup time. If an overflow occurs, default to sleeping up to 1 second. Fixes #438
Diffstat (limited to 'embassy-net/src/stack.rs')
0 files changed, 0 insertions, 0 deletions