analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
69 stars 84 forks source link

MXC_SPI_GetPeripheralClock: Missing break statements #211

Closed cblack-f3 closed 2 years ago

cblack-f3 commented 2 years ago

https://github.com/Analog-Devices-MSDK/msdk/blob/da5a44ebf646278d4dfc5f13a22ece61a8491947/Libraries/PeriphDrivers/Source/SPI/spi_me18.c#L210

Always uses EXTCLK_FREQ due to missing break statements in this switch. Was easy to miss as SPI still functions, just at the wrong desired frequency

Jake-Carter commented 2 years ago

Thanks again @cblack-f3