Fix LL_SPI_BAUDRATE

This commit is contained in:
Armel FAUVEAU committed 2025-10-31 19:59:19 +01:00
1 parent cd78112d62
commit 642cb67b34
1 file changed
+1 -1
+1 -1
View File
@@ -68,7 +68,7 @@ static void SPI_Init()
InitStruct.NSS = LL_SPI_NSS_SOFT;
InitStruct.BitOrder = LL_SPI_MSB_FIRST;
InitStruct.CRCCalculation = LL_SPI_CRCCALCULATION_DISABLE;
InitStruct.BaudRate = LL_SPI_BAUDRATEPRESCALER_DIV256;
InitStruct.BaudRate = LL_SPI_BAUDRATEPRESCALER_DIV64;
LL_SPI_Init(SPIx, &InitStruct);
LL_SPI_Enable(SPIx);