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

[driver] Compare calculated crc with MS5611 prom #1039

Closed rasmuskleist closed 1 year ago

rasmuskleist commented 1 year ago

It occured to me that in application code we only validate that the CRC is nonzero. I have updated the driver so it now compares the calculated CRC with the prom. I have tested this implementation with three barometers. Hopefully this will be the final update to this driver!