diff options
author | barthess <barthess@yandex.ru> | 2017-01-24 12:15:04 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2017-01-24 12:15:04 +0300 |
commit | c09968f96720fda7ee07512615e33a17e9dd5e39 (patch) | |
tree | 487753024b120bd1c4d964f65b4eba283bcf38b7 /os | |
parent | 8338d28cc0a1f6f943affacf3e2514eddb55bf6e (diff) | |
download | ChibiOS-Contrib-c09968f96720fda7ee07512615e33a17e9dd5e39.tar.gz ChibiOS-Contrib-c09968f96720fda7ee07512615e33a17e9dd5e39.tar.bz2 ChibiOS-Contrib-c09968f96720fda7ee07512615e33a17e9dd5e39.zip |
[STM32, NAND] Fixed #elif without expression
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.c | 3 |
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" |