mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
convert the connection manager to use the new PDDB blocking call
This commit is contained in:
parent
86e86df68c
commit
fe52756a3d
1 changed files with 1 additions and 3 deletions
|
|
@ -107,9 +107,7 @@ pub(crate) fn connection_manager(sid: xous::SID, activity_interval: Arc<AtomicU3
|
|||
move || {
|
||||
let tt = ticktimer_server::Ticktimer::new().unwrap();
|
||||
let pddb = pddb::Pddb::new();
|
||||
while !pddb.is_mounted() {
|
||||
tt.sleep_ms(1103).unwrap(); // don't pump the loop until the PDDB has been mounted, but check back regularly
|
||||
}
|
||||
pddb.is_mounted_blocking(None);
|
||||
loop {
|
||||
let msg = xous::receive_message(sid).unwrap();
|
||||
match FromPrimitive::from_usize(msg.body.id()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue