-Removed macro
-SPI works only as master git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11490 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
2354250231
commit
a94b06f166
|
@ -225,10 +225,10 @@ CPPWARN = -Wall -Wextra -Wundef
|
||||||
#
|
#
|
||||||
|
|
||||||
# List all user C define here, like -D_DEBUG=1
|
# List all user C define here, like -D_DEBUG=1
|
||||||
UDEFS = -DCH_CFG_USE_MMU
|
UDEFS =
|
||||||
|
|
||||||
# Define ASM defines here
|
# Define ASM defines here
|
||||||
UADEFS = -DCH_CFG_USE_MMU
|
UADEFS =
|
||||||
|
|
||||||
# List all user directories here
|
# List all user directories here
|
||||||
UINCDIR =
|
UINCDIR =
|
||||||
|
|
|
@ -57,7 +57,7 @@ static void rxend(SPIDriver *spip) {
|
||||||
static const SPIConfig mst_spicfg = {
|
static const SPIConfig mst_spicfg = {
|
||||||
rxend, /* callback if present */
|
rxend, /* callback if present */
|
||||||
0, /* cs pad number */
|
0, /* cs pad number */
|
||||||
SPI_MR_MODFDIS | SPI_MR_MSTR | SPI_MR_LLB, /* mr register */
|
SPI_MR_MODFDIS | SPI_MR_LLB, /* mr register */
|
||||||
SPI_CSR_SCBR(1) /* csr */
|
SPI_CSR_SCBR(1) /* csr */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue