fix: data width must be set before enabling SPI (#5279)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
raphaelcoeffic
parent
d0791fa0c2
commit
170bdebcc4
@@ -114,7 +114,7 @@ void audioSpiInit(void)
|
||||
pinInit.Mode = LL_GPIO_MODE_INPUT;
|
||||
LL_GPIO_Init(AUDIO_DREQ_GPIO, &pinInit);
|
||||
|
||||
stm32_spi_init(&_audio_spi);
|
||||
stm32_spi_init(&_audio_spi, LL_SPI_DATAWIDTH_8BIT);
|
||||
}
|
||||
|
||||
void audioWaitReady()
|
||||
|
||||
Reference in New Issue
Block a user