analogdevicesinc / msdk

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

MXC_SPI_Init elseif statement bugs #196

Closed cblack-f3 closed 2 years ago

cblack-f3 commented 2 years ago

https://github.com/Analog-Devices-MSDK/msdk/blob/25461c92fa248083f40f04a6b3307da4cb744eb5/Libraries/PeriphDrivers/Source/SPI/spi_me18.c#L106

if statements for MXC_SPI2, 3, 4 are incomplete, missing spi ==

Jake-Carter commented 2 years ago

Thanks @cblack-f3, PR opened

cblack-f3 commented 2 years ago

We are using SPI peripheral #4 on our HW and ran into this, tried the fix and it is now working ok

DS4_QuickPrint2

Jake-Carter commented 2 years ago

We appreciate it! The fix has been merged into main