modm-io / modm

modm: a C++23 library generator for AVR and ARM Cortex-M devices
https://modm.io
Mozilla Public License 2.0
748 stars 132 forks source link

Fix incorrect register indices in HMC58x3-based drivers #1059

Closed mbait closed 1 year ago

mbait commented 1 year ago

Fixed according to the datasheet which can be found at https://cdn-shop.adafruit.com/datasheets/HMC5883L_3-Axis_Digital_Compass_IC.pdf