Skip to content

Commit c358eb3

Browse files
committed
fix: interrupts reg value test
Signed-off-by: Lachezar Lechev <lachezar@lechev.space>
1 parent 6fc24ec commit c358eb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,6 +1883,6 @@ mod tests {
18831883
BNO055Interrupt::from_bits_truncate(0b10011).contains(BNO055Interrupt::ACC_BSX_DRDY)
18841884
);
18851885
assert!(BNO055Interrupt::from_bits_truncate(0b10011).contains(BNO055Interrupt::GYR_DRDY));
1886-
assert!(!BNO055Interrupt::from_bits_truncate(0b10011).contains(BNO055Interrupt::MAG_DRDY));
1886+
assert!(BNO055Interrupt::from_bits_truncate(0b10011).contains(BNO055Interrupt::MAG_DRDY));
18871887
}
18881888
}

0 commit comments

Comments
 (0)