[bootloader] update SPI setup function call

This commit is contained in:
stnolting 2022-07-31 21:19:00 +02:00
parent 5b747468f2
commit d3ca99326b

View file

@ -278,7 +278,7 @@ int main(void) {
#if (SPI_EN != 0)
// setup SPI for 8-bit, clock-mode 0
if (neorv32_spi_available()) {
neorv32_spi_setup(SPI_FLASH_CLK_PRSC, 0, 0, 0);
neorv32_spi_setup(SPI_FLASH_CLK_PRSC, 0, 0, 0, 0);
}
#endif