fix hosted mode...again...

This commit is contained in:
bunnie 2023-03-23 21:38:17 +08:00
parent 80bbdd10a5
commit 6f80923609
2 changed files with 5 additions and 1 deletions

View file

@ -1,10 +1,11 @@
use crate::api::*;
use std::sync::{Arc, atomic::AtomicBool};
pub(crate) struct 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 {
}
}

View file

@ -90,4 +90,7 @@ impl Llio {
#[allow(dead_code)]
pub fn tts_sleep_indicate(&mut self) {
}
pub fn get_power_csr_raw(&self) -> u32 {
0
}
}