mirror of https://github.com/rusefi/ChibiOS.git
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:
parent
6740b61022
commit
c03b30b6fe
|
@ -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
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue