marcelbuesing / bme680

Pure Rust BME680 implementation
MIT License
29 stars 28 forks source link

no_std compatible #14

Closed caemor closed 5 years ago

caemor commented 5 years ago

Sadly the crate is atm not no_std compatible anymore since f32.signum and f32.abs are std functions.

I added a test in #13 for the future. But I am still a bit unsure how to change this line (https://github.com/marcelbuesing/bme680/blob/master/src/calc.rs#L58) to make it no_std compatible once more.

caemor commented 5 years ago

13 should resolve this issue