function more robust now
This commit is contained in:
parent
f4ed0ce502
commit
586e8b0347
@ -1433,4 +1433,8 @@ dur_millis_t DeviceHandlerBase::getPeriodicOperationFrequency() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DeviceCommandId_t DeviceHandlerBase::getPendingCommand() const {
|
DeviceCommandId_t DeviceHandlerBase::getPendingCommand() const {
|
||||||
|
if(cookieInfo.pendingCommand != deviceCommandMap.end()) {
|
||||||
|
return cookieInfo.pendingCommand->first;
|
||||||
|
}
|
||||||
|
return DeviceHandlerIF::NO_COMMAND;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user