mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 14:22:33 +00:00
fixed hanging when lse_sysen disabled
This commit is contained in:
parent
e09e4e9612
commit
e76473ae95
@ -257,7 +257,9 @@ impl LsConfig {
|
|||||||
w.set_lsesysen(lse_sysen);
|
w.set_lsesysen(lse_sysen);
|
||||||
});
|
});
|
||||||
|
|
||||||
while !bdcr().read().lsesysrdy() {}
|
if lse_sysen {
|
||||||
|
while !bdcr().read().lsesysrdy() {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user