Merge branch 'mueller_fifo_enhancement' into mueller_framework

This commit is contained in:
Robin Müller 2020-05-05 19:08:46 +02:00
commit 4695e87cdc

View File

@ -70,13 +70,8 @@ public:
}
ReturnValue_t pop() {
if(empty()) {
return EMPTY;
} else {
readIndex = next(readIndex);
--currentSize;
return HasReturnvaluesIF::RETURN_OK;
}
T value;
return this->retrieve(&value);
}
static const uint8_t INTERFACE_ID = CLASS_ID::FIFO_CLASS;