Skip to content

Commit

Permalink
Remove unreachable!.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Aug 10, 2022
1 parent 38bf1ae commit f8eebaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/register_address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ impl CtrlReg4A {
0b00 => AccelScale::G2,
0b01 => AccelScale::G4,
0b10 => AccelScale::G8,
0b11 => AccelScale::G16,
_ => unreachable!(),
_ => AccelScale::G16,
}
}

Expand Down

0 comments on commit f8eebaf

Please sign in to comment.