1
0
forked from fsfw/fsfw

fixed map full() function added.

Pool raw access debugging
This commit is contained in:
2020-01-14 00:49:09 +01:00
parent 01551b8fa5
commit c747952336
3 changed files with 13 additions and 2 deletions

View File

@ -164,6 +164,15 @@ public:
return theMap.maxSize();
}
bool full() {
if(_size == theMap.maxSize()) {
return true;
}
else {
return false;
}
}
virtual ReturnValue_t serialize(uint8_t** buffer, uint32_t* size,
const uint32_t max_size, bool bigEndian) const {
ReturnValue_t result = SerializeAdapter<uint32_t>::serialize(&this->_size,