modm-io / modm

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

Fix incorrect register names #1062

Closed mbait closed 1 year ago

mbait commented 1 year ago

The fix does not really affect the driver behaviour, but the incorrect register names make a confusion regarding the need to convert from big-endian byte order as as-is the code implies little-endian order.