fl_setProtection not called when QUAD_SPI_FLASH defined - no longer in API.

This commit is contained in:
Ross Owen
2015-06-01 15:58:59 +01:00
parent 1d624b9a1f
commit 6d2d352966

View File

@@ -53,8 +53,10 @@ int flash_cmd_init(void)
if (!flash_device_open)
return 0;
#ifndef QUAD_SPI_FLASH
// Disable flash protection
fl_setProtection(0);
#endif
if (fl_getFactoryImage(&image) != 0)
{