From c09968f96720fda7ee07512615e33a17e9dd5e39 Mon Sep 17 00:00:00 2001 From: barthess Date: Tue, 24 Jan 2017 12:15:04 +0300 Subject: [STM32, NAND] Fixed #elif without expression --- os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os/hal/ports/STM32/LLD') 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" -- cgit v1.2.3