diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-11 18:04:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-11 18:04:04 +0000 |
commit | cdbb7040cc2ba10d5c86fccc448660a401dad7b9 (patch) | |
tree | 0b5cce4b0f0049e65b2aec2260ee39d4506bdbef /nuttx/configs/pic32-starterkit/src | |
parent | 39fce4309cd7e36e44e51221a72da8d425df88d8 (diff) | |
download | px4-nuttx-cdbb7040cc2ba10d5c86fccc448660a401dad7b9.tar.gz px4-nuttx-cdbb7040cc2ba10d5c86fccc448660a401dad7b9.tar.bz2 px4-nuttx-cdbb7040cc2ba10d5c86fccc448660a401dad7b9.zip |
Add support for the Z180 MMU and generic hooks for processes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5428 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32-starterkit/src')
-rw-r--r-- | nuttx/configs/pic32-starterkit/src/up_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/pic32-starterkit/src/up_spi.c b/nuttx/configs/pic32-starterkit/src/up_spi.c index 52d46af89..42e7c4b9c 100644 --- a/nuttx/configs/pic32-starterkit/src/up_spi.c +++ b/nuttx/configs/pic32-starterkit/src/up_spi.c @@ -154,7 +154,7 @@ int pic32mx_spi1cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cm #endif #endif -#ifdef CONFIG_PIC31MX_SPI1 +#ifdef CONFIG_PIC32MX_SPI1 void pic31mx_spi1select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool selected) { sspdbg("devid: %d CS: %s\n", (int)devid, selected ? "assert" : "de-assert"); @@ -176,7 +176,7 @@ int pic31mx_spi1cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cm #endif #endif -#ifdef CONFIG_PIC31MX_SPI3 +#ifdef CONFIG_PIC32MX_SPI3 void pic32mx_spi3select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool selected) { sspdbg("devid: %d CS: %s\n", (int)devid, selected ? "assert" : "de-assert"); |