This commit is contained in:
Robin Müller 2021-06-15 15:04:40 +02:00
parent 996fbf134e
commit cc5c8ca698
No known key found for this signature in database
GPG Key ID: 9C287E88FED11DF3

View File

@ -226,7 +226,7 @@ ReturnValue_t DeviceHandlerBase::initialize() {
}
void DeviceHandlerBase::decrementDeviceReplyMap() {
for (auto replyPair: deviceReplyMap) {
for (std::pair<const DeviceCommandId_t, DeviceReplyInfo>& replyPair: deviceReplyMap) {
if (replyPair.second.delayCycles != 0) {
replyPair.second.delayCycles--;
if (replyPair.second.delayCycles == 0) {