Skip to content

Commit

Permalink
Update ctru-rs/examples/movement.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Chamberlain <[email protected]>
  • Loading branch information
Meziu and ian-h-chamberlain authored Nov 20, 2023
1 parent 73aac70 commit ccc9dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctru-rs/examples/movement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn main() {
// Be careful: reading without activating the sensors (as done before this loop) will result in a panic.
println!(
"\x1b[3;0HAcceleration: {:?} ",
Into::<(i16, i16, i16)>::into(
<(i16, i16, i16)>::from(
hid.accelerometer_vector()
.expect("could not retrieve acceleration vector")
)
Expand Down

0 comments on commit ccc9dbf

Please sign in to comment.