From a9bf6cd61b03ac57b23584c8511dfe25bb7ef670 Mon Sep 17 00:00:00 2001 From: Kaisei Yokoyama Date: Fri, 5 Jun 2020 15:30:32 +0900 Subject: [PATCH] Fix --- Cargo.toml | 2 +- src/joycon/driver/input_report_mode.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 90b0065..0d22b4f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "joycon-rs" -version = "0.5.3" +version = "0.5.4" authors = ["Kaisei Yokoyama "] repository = "https://github.com/KaiseiYokoyama/joycon-rs" edition = "2018" diff --git a/src/joycon/driver/input_report_mode.rs b/src/joycon/driver/input_report_mode.rs index 9efb6c7..27e77f8 100644 --- a/src/joycon/driver/input_report_mode.rs +++ b/src/joycon/driver/input_report_mode.rs @@ -577,7 +577,7 @@ pub mod standard_full_mode { /// 6-Axis data. 3 frames of 2 groups of 3 Int16LE each. Group is Acc followed by Gyro. #[derive(Debug, Clone)] pub struct IMUData { - data: [AxisData; 3] + pub data: [AxisData; 3] } impl TryFrom<[u8; 349]> for IMUData {