mirror of
https://github.com/thelsing/knx.git
synced 2025-01-07 00:05:47 +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)
|
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);
|
||||||
@ -428,4 +428,4 @@ void Memory::addNewUsedBlock(uint8_t* address, size_t size)
|
|||||||
|
|
||||||
MemoryBlock* newUsedBlock = new MemoryBlock(address, size);
|
MemoryBlock* newUsedBlock = new MemoryBlock(address, size);
|
||||||
addToUsedList(newUsedBlock);
|
addToUsedList(newUsedBlock);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user