mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
clear some warnings in hosted mode
This commit is contained in:
parent
5fabcd2ca7
commit
9140beef24
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@
|
|||
use std::thread;
|
||||
use std::sync::Arc;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
#[cfg(any(feature="precursor", feature="renode"))]
|
||||
use llio::*;
|
||||
use pddb::PddbMountPoller;
|
||||
use num_traits::*;
|
||||
|
|
@ -139,7 +140,7 @@ impl NtpUdpSocket for UdpSocketWrapper {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature="precursor", feature="renode"))]
|
||||
pub fn reset_rtc(i2c: &mut llio::I2c, start_time: u64, tt: &ticktimer_server::Ticktimer) {
|
||||
log::debug!("performing rtc reset");
|
||||
i2c.i2c_mutex_acquire();
|
||||
|
|
|
|||
Loading…
Reference in a new issue