diff options
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" |