mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Fix LL_SPI_BAUDRATE
This commit is contained in:
1 parent
cd78112d62
commit
642cb67b34
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user