[STM32, NAND] Fixed #elif without expression
This commit is contained in:
parent
8338d28cc0
commit
c09968f967
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue