aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/main.c')
-rw-r--r--src/stm32f1/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stm32f1/main.c b/src/stm32f1/main.c
index b91d4dd0..e7a0cd91 100644
--- a/src/stm32f1/main.c
+++ b/src/stm32f1/main.c
@@ -112,8 +112,6 @@ void adc_config(void)
void spi_config(void)
{
LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_SPI2);
- LL_SPI_SetNSSMode(SPI2, LL_SPI_NSS_SOFT);
- LL_SPI_SetMode(SPI2, LL_SPI_MODE_MASTER);
}
void io_config(void)