added missing delete

This commit is contained in:
Robin Müller 2022-05-24 14:32:35 +02:00
parent e60a665de4
commit f7cde80088
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -94,6 +94,7 @@ inline ReturnValue_t Service11TelecommandScheduling<MAX_NUM_TCS>::performService
sif::printInfo("Released TC & erased it from TC map\n");
#endif
}
telecommandMap.erase(it++);
} else if (deleteExpiredTcWhenDisabled) {
telecommandMap.erase(it++);
}