aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/FSMCv1
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2017-01-24 12:15:04 +0300
committerbarthess <barthess@yandex.ru>2017-01-24 12:15:04 +0300
commitc09968f96720fda7ee07512615e33a17e9dd5e39 (patch)
tree487753024b120bd1c4d964f65b4eba283bcf38b7 /os/hal/ports/STM32/LLD/FSMCv1
parent8338d28cc0a1f6f943affacf3e2514eddb55bf6e (diff)
downloadChibiOS-Contrib-c09968f96720fda7ee07512615e33a17e9dd5e39.tar.gz
ChibiOS-Contrib-c09968f96720fda7ee07512615e33a17e9dd5e39.tar.bz2
ChibiOS-Contrib-c09968f96720fda7ee07512615e33a17e9dd5e39.zip
[STM32, NAND] Fixed #elif without expression
Diffstat (limited to 'os/hal/ports/STM32/LLD/FSMCv1')
-rw-r--r--os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.c b/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.c
index 3e2db55..5729f92 100644
--- a/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.c
+++ b/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.c
@@ -353,8 +353,7 @@ void nand_lld_start(NANDDriver *nandp) {
#if STM32_NAND_BUS_WIDTH == 8
pcr_bus_width = FSMC_PCR_PWID_8;
-#elif
- STM32_NAND_BUS_WIDTH == 16
+#elif STM32_NAND_BUS_WIDTH == 16
pcr_bus_width = FSMC_PCR_PWID_16;
#else
#error "Bus width must be 8 or 16 bits"