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:
Raphael Coeffic
2024-07-11 11:27:38 +02:00
committed by GitHub
co-authored by raphaelcoeffic
parent d0791fa0c2
commit 170bdebcc4
6 changed files with 7 additions and 7 deletions
@@ -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()