summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/src/up_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/up_spi.c')
-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)