JadKHaddad / bmp180

bmp180 sensor driver for embedded rust

Home Page:https://crates.io/crates/bmp180-embedded-hal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deal with invalid Calibration

JadKHaddad opened this issue · comments

Panicking on division by zero and arithmetic overflows. See fuzz.

Make all compute operations checked and create a new feature unchecked-arithmetic for checked operations.

Feature is called "disable-arithmetic-checks"

Now compare "disable-arithmetic-checks" with default