eldruin / lsm303agr-rs

Platform agnostic Rust driver for the LSM303AGR ultra-compact high-performance eCompass module: ultra-low-power 3D accelerometer and 3D magnetometer
Apache License 2.0
18 stars 14 forks source link

Reset all ODR bits on power down #4

Closed robyoung closed 3 years ago

robyoung commented 3 years ago

Powering down was only resetting ODR0 - ODR3 while it should be resetting all ODR bits.

relevant section of datasheet