forked from PAWPAW-Mirror/lib_xua
fl_setProtection not called when QUAD_SPI_FLASH defined - no longer in API.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user