modm-io / modm

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

Also adjust SpiMaster clock of F411-Disco in Board::initializeLis3(...) #1141

Closed TomSaw closed 7 months ago

TomSaw commented 7 months ago

In PR 009bb0 the SystemClock::Frequency has been adjusted from 84 to 96 MHz without also adjusting the SpiMaster clock in Board::initializeLis3(...) from 5.25 to 6 MHz which leads to a failing static_assert.