docs improvements and fix

This commit is contained in:
Robin Müller 2023-11-21 17:40:06 +01:00
parent 0021aa29f5
commit c02d9e009e
2 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,7 @@ FreshDeviceHandlerBase::~FreshDeviceHandlerBase() {
}
ReturnValue_t FreshDeviceHandlerBase::performOperation(uint8_t opCode) {
performDeviceOperationPreQueueHandling();
performDeviceOperationPreQueueHandling(opCode);
handleQueue();
performDeviceOperation(opCode);
poolManager.performHkOperation();

View File

@ -82,6 +82,12 @@ class FreshDeviceHandlerBase : public SystemObject,
MessageQueueIF* messageQueue;
/**
* The default queue handler will process all messages for the interfaces implemented
* by this class. If there are special requirements, for example that action commands are
* received on a different queue, the user can override this function for those special
* requirements.
*/
virtual ReturnValue_t handleQueue();
// Mode Helpers.