diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-12 14:07:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-12 14:07:13 +0000 |
commit | 14c5c981145991a86366544bc11dbb9d410feecf (patch) | |
tree | 9fb204b8c6c0c4ecc6bcfcf80b3c6d18d5fc82f7 /nuttx/configs/fire-stm32v2/src/up_spi.c | |
parent | e0eb054e9194a0df9b3f81fa74b3fe702505477c (diff) | |
download | px4-nuttx-14c5c981145991a86366544bc11dbb9d410feecf.tar.gz px4-nuttx-14c5c981145991a86366544bc11dbb9d410feecf.tar.bz2 px4-nuttx-14c5c981145991a86366544bc11dbb9d410feecf.zip |
Misc STM32 wildfire and ENC28J60 driver updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5133 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 329274b7f..b2ef301b6 100644 --- a/nuttx/configs/fire-stm32v2/src/up_spi.c +++ b/nuttx/configs/fire-stm32v2/src/up_spi.c @@ -163,11 +163,11 @@ void stm32_spi1select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool sele spidbg("devid: %d CS: %s\n", (int)devid, selected ? "assert" : "de-assert"); #if 0 /* Need to study this */ - if (devid == SPIDEV_FLASH) + if (devid == SPIDEV_LCD) { /* Set the GPIO low to select and high to de-select */ - stm32_gpiowrite(GPIO_FLASH_CS, !selected); + stm32_gpiowrite(GPIO_LCD_CS, !selected); } else #endif |