Add missing brackets

This commit is contained in:
lucianom
2021-06-28 14:46:20 +01:00
parent 32e4fb55d3
commit 55cfb7b7da

View File

@@ -90,9 +90,9 @@ int flash_cmd_enable_ports()
#ifdef DFU_FLASH_DEVICE #ifdef DFU_FLASH_DEVICE
#ifdef QUAD_SPI_FLASH #ifdef QUAD_SPI_FLASH
result = fl_connectToDevice(&p_qflash, flash_devices, sizeof(flash_devices) / sizeof(fl_QuadDeviceSpec); result = fl_connectToDevice(&p_qflash, flash_devices, sizeof(flash_devices) / sizeof(fl_QuadDeviceSpec));
#else #else
result = fl_connectToDevice(&p_flash, flash_devices, sizeof(flash_devices) / sizeof(fl_DeviceSpec); result = fl_connectToDevice(&p_flash, flash_devices, sizeof(flash_devices) / sizeof(fl_DeviceSpec));
#endif #endif
#else #else
/* Use default flash list */ /* Use default flash list */