Skip to content

Commit

Permalink
fix: command format i16
Browse files Browse the repository at this point in the history
  • Loading branch information
IniterWorker committed Apr 27, 2024
1 parent 736f706 commit 325deea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,13 +928,13 @@ pub mod register {
pub type AccelerationRegister = u8;

/// Acceleration Register Size
pub type AccelerationFullRegister = u16;
pub type AccelerationFullRegister = i16;

/// Angular Register Size
pub type AngularRegister = u8;

/// Angular Register Size
pub type AngularFullRegister = u16;
pub type AngularFullRegister = i16;

/// Acceleration Output. Register Address: 0x35 – 0x3A
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
Expand Down

0 comments on commit 325deea

Please sign in to comment.