mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix busy-wait in prereqs ntp updater
This commit is contained in:
parent
03d13cc758
commit
6f849af2a2
1 changed files with 2 additions and 0 deletions
|
|
@ -229,6 +229,8 @@ pub(crate) fn ntp_updater(time_conn: xous::CID) {
|
||||||
tt.sleep_ms(1000 * 127).unwrap();
|
tt.sleep_ms(1000 * 127).unwrap();
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
tt.sleep_ms(1000 * 60 * 3).unwrap(); // once every 3 minutes of screen-on time, poll the loop.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue