flashSize must be big enough. Security IF object contains a lot more data.

This commit is contained in:
Nanosonde 2020-07-02 21:17:22 +02:00
parent 31f8efc516
commit bdc6df376e

View File

@ -13,7 +13,7 @@ void Memory::readMemory()
if (_data != nullptr) if (_data != nullptr)
return; return;
uint16_t flashSize = 512; uint16_t flashSize = 2048;
_data = _platform.getEepromBuffer(flashSize); _data = _platform.getEepromBuffer(flashSize);
printHex("RESTORED ", _data, _metadataSize); printHex("RESTORED ", _data, _metadataSize);