1
0
forked from fsfw/fsfw

commanding service base hotfix

This commit is contained in:
2020-09-22 14:00:18 +02:00
parent 42bfedd36c
commit 7851a71a8e
2 changed files with 8 additions and 4 deletions

View File

@ -384,7 +384,7 @@ void CommandingServiceBase::acceptPacket(uint8_t reportId,
}
void CommandingServiceBase::checkAndExecuteFifo(CommandMapIter iter) {
void CommandingServiceBase::checkAndExecuteFifo(CommandMapIter& iter) {
store_address_t address;
if (iter->second.fifo.retrieve(&address) != RETURN_OK) {
commandMap.erase(&iter);