aboutsummaryrefslogtreecommitdiff
path: root/embassy-std
diff options
context:
space:
mode:
authorTimo Kröger <[email protected]>2021-01-03 13:56:13 +0100
committerTimo Kröger <[email protected]>2021-01-04 22:55:40 +0100
commit93780fa31d3c563e05fac6cd6ff8f15e43dc80fa (patch)
treef2526eb9415166153842463a26672a5e32945f61 /embassy-std
parent9b1f7b8a17bd1ebd61e68c5d2a2116794d31cfa7 (diff)
uarte: Wait for the peripheral to be disabled
Prevents a panic in the case of: 1. Abort a receive future 2. Free Uarte::free() 3. Uarte::new() -> panicked at 'assertion failed: uarte.enable.read().enable().is_disabled()'
Diffstat (limited to 'embassy-std')
0 files changed, 0 insertions, 0 deletions