diff --git a/l0dable/src/bhi160.rs b/l0dable/src/bhi160.rs index 47be7de65a1244c24413e0f52446c273a40c2c22..741c96158d085446a1deaaadae77e94faa5dd8b7 100644 --- a/l0dable/src/bhi160.rs +++ b/l0dable/src/bhi160.rs @@ -134,9 +134,9 @@ impl<'a, S: SensorType> Iterator for SensorDataIter<'a, S> { #[derive(Debug, Clone)] pub struct SensorDataItem { - x: f32, - y: f32, - z: f32, + pub x: f32, + pub y: f32, + pub z: f32, status: u8, }