mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
fix hosted mode...again...
This commit is contained in:
parent
80bbdd10a5
commit
6f80923609
2 changed files with 5 additions and 1 deletions
|
|
@ -1,10 +1,11 @@
|
||||||
use crate::api::*;
|
use crate::api::*;
|
||||||
|
use std::sync::{Arc, atomic::AtomicBool};
|
||||||
|
|
||||||
pub(crate) struct I2cStateMachine {
|
pub(crate) struct I2cStateMachine {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl I2cStateMachine {
|
impl I2cStateMachine {
|
||||||
pub fn new(_handler_conn: xous::CID) -> Self {
|
pub fn new(_handler_conn: xous::CID, _power_csr_raw: *mut u32, _wfi_state: Arc::<AtomicBool>) -> Self {
|
||||||
I2cStateMachine {
|
I2cStateMachine {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -90,4 +90,7 @@ impl Llio {
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub fn tts_sleep_indicate(&mut self) {
|
pub fn tts_sleep_indicate(&mut self) {
|
||||||
}
|
}
|
||||||
|
pub fn get_power_csr_raw(&self) -> u32 {
|
||||||
|
0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue