Skip to content

Commit 1ca0ef7

Browse files
committed
clean up warning
1 parent 601f347 commit 1ca0ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vault/src/prereqs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub(crate) fn ntp_updater(time_conn: xous::CID) {
180180
let tt = ticktimer_server::Ticktimer::new().unwrap();
181181
let mut now = SystemTime::now();
182182
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.
183+
tt.sleep_ms(1000 * 60 * 2).ok(); // initial delay of 2 minutes before polling. This gives plenty of time for network to come up.
184184
loop {
185185
if force_update || now.elapsed().unwrap().as_secs() > 3600 * 24 { // once a day in real time
186186
// check if we have a network connection. if not, repeat the loop, after a short delay

0 commit comments

Comments
 (0)