We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 601f347 commit 1ca0ef7Copy full SHA for 1ca0ef7
apps/vault/src/prereqs.rs
@@ -180,7 +180,7 @@ pub(crate) fn ntp_updater(time_conn: xous::CID) {
180
let tt = ticktimer_server::Ticktimer::new().unwrap();
181
let mut now = SystemTime::now();
182
let mut force_update = true;
183
- tt.sleep_ms(1000 * 60 * 2); // initial delay of 2 minutes before polling. This gives plenty of time for network to come up.
+ tt.sleep_ms(1000 * 60 * 2).ok(); // initial delay of 2 minutes before polling. This gives plenty of time for network to come up.
184
loop {
185
if force_update || now.elapsed().unwrap().as_secs() > 3600 * 24 { // once a day in real time
186
// check if we have a network connection. if not, repeat the loop, after a short delay
0 commit comments