[STM32, NAND] Fixed #elif without expression

This commit is contained in:
barthess 2017-01-24 12:15:04 +03:00
parent 8338d28cc0
commit c09968f967
1 changed files with 1 additions and 2 deletions

View File

@ -353,8 +353,7 @@ void nand_lld_start(NANDDriver *nandp) {
#if STM32_NAND_BUS_WIDTH == 8 #if STM32_NAND_BUS_WIDTH == 8
pcr_bus_width = FSMC_PCR_PWID_8; pcr_bus_width = FSMC_PCR_PWID_8;
#elif #elif STM32_NAND_BUS_WIDTH == 16
STM32_NAND_BUS_WIDTH == 16
pcr_bus_width = FSMC_PCR_PWID_16; pcr_bus_width = FSMC_PCR_PWID_16;
#else #else
#error "Bus width must be 8 or 16 bits" #error "Bus width must be 8 or 16 bits"