aboutsummaryrefslogtreecommitdiff
path: root/examples/std/src/bin/net_ppp.rs
diff options
context:
space:
mode:
authorOlle Sandberg <[email protected]>2023-08-28 11:27:56 +0200
committerOlle Sandberg <[email protected]>2023-08-28 11:44:05 +0200
commitfd739250ea8b830f06f8a78a272874faa888d42c (patch)
treeba1a707469dca2701c6464f8c438f671f80e3044 /examples/std/src/bin/net_ppp.rs
parent88146eb53e40ea2ab43c2db77f3f62c6d08c9b36 (diff)
stm32: fix wait for RNG data
If no data was available to read then the loop would wait for an interrupt and skip to the next chunk without writing the current one. This could cause the given slice to only be partially filled with random data. Fixed by moving the wait to before actually writing data to the chunk.
Diffstat (limited to 'examples/std/src/bin/net_ppp.rs')
0 files changed, 0 insertions, 0 deletions