diff --git a/services/llio/src/i2c/hosted.rs b/services/llio/src/i2c/hosted.rs index 7fe99174c..b5e4732df 100644 --- a/services/llio/src/i2c/hosted.rs +++ b/services/llio/src/i2c/hosted.rs @@ -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::) -> Self { I2cStateMachine { } } diff --git a/services/llio/src/llio_hosted.rs b/services/llio/src/llio_hosted.rs index 0fcfcd3c0..226c179a3 100644 --- a/services/llio/src/llio_hosted.rs +++ b/services/llio/src/llio_hosted.rs @@ -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 + } }