Changed SPI select mode in the STM32/STM32F4xx/SPI-ADXL355 demo

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13683 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Rocco Marco Guglielmi 2020-06-02 12:56:31 +00:00
parent 6740b61022
commit c03b30b6fe
2 changed files with 2 additions and 3 deletions

View File

@ -471,7 +471,7 @@
* @note Disabling this option saves both code and data space.
*/
#if !defined(SPI_SELECT_MODE) || defined(__DOXYGEN__)
#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
#define SPI_SELECT_MODE SPI_SELECT_MODE_LINE
#endif
/*===========================================================================*/

View File

@ -44,8 +44,7 @@ static uint32_t i;
static const SPIConfig spicfg = {
FALSE,
NULL,
GPIOB,
6,
LINE_ARD_D10,
SPI_CR1_BR_1 | SPI_CR1_BR_0,
0
};