diff options
| author | Timo Kröger <[email protected]> | 2021-01-03 13:56:13 +0100 |
|---|---|---|
| committer | Timo Kröger <[email protected]> | 2021-01-04 22:55:40 +0100 |
| commit | 93780fa31d3c563e05fac6cd6ff8f15e43dc80fa (patch) | |
| tree | f2526eb9415166153842463a26672a5e32945f61 /embassy-std/src | |
| parent | 9b1f7b8a17bd1ebd61e68c5d2a2116794d31cfa7 (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/src')
0 files changed, 0 insertions, 0 deletions
