mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
[bootloader] update SPI setup function call
This commit is contained in:
parent
5b747468f2
commit
d3ca99326b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue