diff --git a/src/knx/memory.h b/src/knx/memory.h index b0794b5..06215ef 100644 --- a/src/knx/memory.h +++ b/src/knx/memory.h @@ -54,5 +54,5 @@ public: uint8_t* _data = nullptr; MemoryBlock* _freeList = nullptr; MemoryBlock* _usedList = nullptr; - uint16_t _metadataSize = 0; + uint16_t _metadataSize = 4 + LEN_HARDWARE_TYPE; // accounting for 2x pushWord and pushByteArray of length LEN_HARDWARE_TYPE };