mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
flashSize must be big enough. Security IF object contains a lot more data.
This commit is contained in:
parent
31f8efc516
commit
bdc6df376e
@ -13,7 +13,7 @@ void Memory::readMemory()
|
||||
if (_data != nullptr)
|
||||
return;
|
||||
|
||||
uint16_t flashSize = 512;
|
||||
uint16_t flashSize = 2048;
|
||||
_data = _platform.getEepromBuffer(flashSize);
|
||||
|
||||
printHex("RESTORED ", _data, _metadataSize);
|
||||
@ -428,4 +428,4 @@ void Memory::addNewUsedBlock(uint8_t* address, size_t size)
|
||||
|
||||
MemoryBlock* newUsedBlock = new MemoryBlock(address, size);
|
||||
addToUsedList(newUsedBlock);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user