diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-11 16:50:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-11 16:50:16 +0000 |
commit | 88da8a5b4f042532c0b980510b0d90b77158eff4 (patch) | |
tree | 7549e64438eb97eda761a8274c9e00fa92870b20 /nuttx/configs/fire-stm32v2/src/up_spi.c | |
parent | 9f572dff87614ce1d025e8d98fac36db13bcfd71 (diff) | |
download | px4-nuttx-88da8a5b4f042532c0b980510b0d90b77158eff4.tar.gz px4-nuttx-88da8a5b4f042532c0b980510b0d90b77158eff4.tar.bz2 px4-nuttx-88da8a5b4f042532c0b980510b0d90b77158eff4.zip |
Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5128 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/fire-stm32v2/src/up_spi.c')
-rw-r--r-- | nuttx/configs/fire-stm32v2/src/up_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/fire-stm32v2/src/up_spi.c b/nuttx/configs/fire-stm32v2/src/up_spi.c index 085542b13..329274b7f 100644 --- a/nuttx/configs/fire-stm32v2/src/up_spi.c +++ b/nuttx/configs/fire-stm32v2/src/up_spi.c @@ -111,7 +111,7 @@ void weak_function stm32_spiinitialize(void) /* Configure ENC28J60 SPI1 CS (also RESET and interrupt pins) */ -#ifdef CONFIG_NET_ENC28J60 +#ifdef CONFIG_ENC28J60 stm32_configgpio(GPIO_ENC28J60_CS); stm32_configgpio(GPIO_ENC28J60_RESET); stm32_configgpio(GPIO_ENC28J60_INTR); @@ -171,7 +171,7 @@ void stm32_spi1select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool sele } else #endif -#ifdef CONFIG_NET_ENC28J60 +#ifdef CONFIG_ENC28J60 if (devid == SPIDEV_ETHERNET) { /* Set the GPIO low to select and high to de-select */ |