Fixing metadata size (#119)

This commit is contained in:
rueckix 2021-01-08 14:06:54 +01:00 committed by GitHub
parent d46b51fd4f
commit 742e7a1ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
};