xous-core/services/llio/src/i2c/mod.rs

14 lines
497 B
Rust
Raw Normal View History

2021-06-18 14:37:08 +00:00
#![cfg_attr(not(target_os = "none"), allow(dead_code))]
#![cfg_attr(not(target_os = "none"), allow(unused_imports))]
#![cfg_attr(not(target_os = "none"), allow(unused_variables))]
#[cfg(not(any(target_os = "none", target_os = "xous")))]
mod hosted;
#[cfg(not(any(target_os = "none", target_os = "xous")))]
2021-05-08 17:13:16 +00:00
pub use crate::i2c::hosted::*;
#[cfg(any(target_os = "none", target_os = "xous"))]
mod hardware;
#[cfg(any(target_os = "none", target_os = "xous"))]
pub(crate) use crate::i2c::hardware::*;