aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_NAND/main.c
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-10-30 12:52:31 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-10-30 12:52:31 +0100
commit915b474b02349add9c17fa43ff0351503c3c5020 (patch)
tree04e67f6a8838bcf4f96fc930f2c0fdf9cb18f73b /testhal/STM32/STM32F4xx/FSMC_NAND/main.c
parent13ebce61e2f0af08d6ffa0c13397da5ad31292c4 (diff)
downloadChibiOS-Contrib-915b474b02349add9c17fa43ff0351503c3c5020.tar.gz
ChibiOS-Contrib-915b474b02349add9c17fa43ff0351503c3c5020.tar.bz2
ChibiOS-Contrib-915b474b02349add9c17fa43ff0351503c3c5020.zip
Re-organised FSMC drivers
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND/main.c')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c
index 73c9cb3..c4e2324 100644
--- a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c
+++ b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c
@@ -78,9 +78,9 @@
#define NAND_TEST_KILL_BLOCK 8000
#endif
-#if STM32_NAND_USE_FSMC_NAND1
+#if STM32_NAND_USE_NAND1
#define NAND NANDD1
-#elif STM32_NAND_USE_FSMC_NAND2
+#elif STM32_NAND_USE_NAND2
#define NAND NANDD2
#else
#error "You should enable at least one NAND interface"