summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-10 16:48:45 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-10 16:48:45 +0000
commit4f03177a72a65beeca2e40185d2e2fa97f24bc11 (patch)
tree4568b0eeb29017386bbf5be7f4416f3178c858dc /nuttx/configs/stm3210e-eval
parent1a7287a8a4eeca7fc2a677b983b25877350d1439 (diff)
downloadpx4-nuttx-4f03177a72a65beeca2e40185d2e2fa97f24bc11.tar.gz
px4-nuttx-4f03177a72a65beeca2e40185d2e2fa97f24bc11.tar.bz2
px4-nuttx-4f03177a72a65beeca2e40185d2e2fa97f24bc11.zip
More logic for the MX3 Wildfire board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5123 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval')
-rw-r--r--nuttx/configs/stm3210e-eval/src/up_spi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_spi.c b/nuttx/configs/stm3210e-eval/src/up_spi.c
index dacc3adf8..ea8670b18 100644
--- a/nuttx/configs/stm3210e-eval/src/up_spi.c
+++ b/nuttx/configs/stm3210e-eval/src/up_spi.c
@@ -138,11 +138,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 (devid == SPIDEV_FLASH)
- {
- /* Set the GPIO low to select and high to de-select */
+ {
+ /* Set the GPIO low to select and high to de-select */
- stm32_gpiowrite(GPIO_FLASH_CS, !selected);
- }
+ stm32_gpiowrite(GPIO_FLASH_CS, !selected);
+ }
}
uint8_t stm32_spi1status(FAR struct spi_dev_s *dev, enum spi_dev_e devid)