git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5440 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2013-03-16 11:31:51 +00:00
parent 216f0d6ace
commit 9f03be8063
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
static const SPIConfig hs_spicfg = { static const SPIConfig hs_spicfg = {
NULL, NULL,
GPIOB, GPIOB,
12, 10,
0, 0,
SPI_CR2_DS_2 | SPI_CR2_DS_1 | SPI_CR2_DS_0 SPI_CR2_DS_2 | SPI_CR2_DS_1 | SPI_CR2_DS_0
}; };
@ -38,7 +38,7 @@ static const SPIConfig hs_spicfg = {
static const SPIConfig ls_spicfg = { static const SPIConfig ls_spicfg = {
NULL, NULL,
GPIOB, GPIOB,
12, 10,
SPI_CR1_BR_2 | SPI_CR1_BR_1, SPI_CR1_BR_2 | SPI_CR1_BR_1,
SPI_CR2_DS_2 | SPI_CR2_DS_1 | SPI_CR2_DS_0 SPI_CR2_DS_2 | SPI_CR2_DS_1 | SPI_CR2_DS_0
}; };