From 458e6a84df1beb84f21c7e57147dec8c44f1d751 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 17 Jun 2016 12:58:41 +0000 Subject: Added CR2 setting to STM32 SPIv1 driver. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9640 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F4xx/SPI/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F4xx/SPI') diff --git a/testhal/STM32/STM32F4xx/SPI/main.c b/testhal/STM32/STM32F4xx/SPI/main.c index 5bd98fdde..58ed9cbb9 100644 --- a/testhal/STM32/STM32F4xx/SPI/main.c +++ b/testhal/STM32/STM32F4xx/SPI/main.c @@ -24,6 +24,7 @@ static const SPIConfig hs_spicfg = { NULL, GPIOB, 12, + 0, 0 }; @@ -34,7 +35,8 @@ static const SPIConfig ls_spicfg = { NULL, GPIOB, 12, - SPI_CR1_BR_2 | SPI_CR1_BR_1 + SPI_CR1_BR_2 | SPI_CR1_BR_1, + 0 }; /* -- cgit v1.2.3