readability improvement
This commit is contained in:
parent
0cdce6e327
commit
da30680d04
@ -228,7 +228,7 @@ void DeviceHandlerBase::decrementDeviceReplyMap() {
|
||||
if (iter->second.delayCycles != 0) {
|
||||
iter->second.delayCycles--;
|
||||
if (iter->second.delayCycles == 0) {
|
||||
if (iter->second.periodic != 0) {
|
||||
if (iter->second.periodic) {
|
||||
iter->second.delayCycles = iter->second.maxDelayCycles;
|
||||
}
|
||||
replyToReply(iter, TIMEOUT);
|
||||
|
Loading…
Reference in New Issue
Block a user