mirror of
https://github.com/thelsing/knx.git
synced 2025-09-18 17:52:44 +02:00
add comment why _size field is needed
This commit is contained in:
parent
649535d4c4
commit
dbba1485df
@ -68,5 +68,11 @@ class TableObject: public InterfaceObject
|
|||||||
LoadState _state = LS_UNLOADED;
|
LoadState _state = LS_UNLOADED;
|
||||||
Memory& _memory;
|
Memory& _memory;
|
||||||
uint8_t *_data = 0;
|
uint8_t *_data = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* used to store size of data() in allocTable(), needed for calculation of crc in PID_MCB_TABLE.
|
||||||
|
* This value is also saved and restored.
|
||||||
|
* The size of the memory block cannot be used because it is changed during alignment to page size.
|
||||||
|
*/
|
||||||
uint32_t _size = 0;
|
uint32_t _size = 0;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user