aboutsummaryrefslogtreecommitdiff
path: root/src/stm32
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-16 18:28:35 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-16 18:28:35 +0200
commite73473f5292664427bfeeef0063452e88b066e72 (patch)
tree44efee0615fc1acb77c515c0e2081253413ff19e /src/stm32
parent597de95572721ea51569caeba40bfb816f505400 (diff)
more debugging
Diffstat (limited to 'src/stm32')
-rw-r--r--src/stm32/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/setup.c b/src/stm32/setup.c
index 6975592..7b9f35a 100644
--- a/src/stm32/setup.c
+++ b/src/stm32/setup.c
@@ -34,7 +34,7 @@ SPI_HandleTypeDef hspi1 = {
.Init.CLKPolarity = SPI_POLARITY_LOW,
.Init.CLKPhase = SPI_PHASE_1EDGE,
.Init.NSS = SPI_NSS_SOFT,
- .Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2,
+ .Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_16,
.Init.FirstBit = SPI_FIRSTBIT_MSB,
.Init.TIMode = SPI_TIMODE_DISABLE,
.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE,