run auto formatter
This commit is contained in:
parent
41cdf3c1e8
commit
babb02ebb6
@ -52,14 +52,15 @@ DynamicFIFO<size_t>* SharedRingBuffer::getReceiveSizesFifo() {
|
||||
return receiveSizesFifo;
|
||||
}
|
||||
|
||||
ReturnValue_t SharedRingBuffer::fifoEmpty(bool& empty, MutexIF::TimeoutType timeoutType, uint32_t timeoutMs) {
|
||||
if(receiveSizesFifo == nullptr) {
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
MutexGuard mg(mutex, timeoutType, timeoutMs);
|
||||
if(mg.getLockResult() != returnvalue::OK) {
|
||||
return mg.getLockResult();
|
||||
}
|
||||
empty = receiveSizesFifo->empty();
|
||||
return returnvalue::OK;
|
||||
ReturnValue_t SharedRingBuffer::fifoEmpty(bool& empty, MutexIF::TimeoutType timeoutType,
|
||||
uint32_t timeoutMs) {
|
||||
if (receiveSizesFifo == nullptr) {
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
MutexGuard mg(mutex, timeoutType, timeoutMs);
|
||||
if (mg.getLockResult() != returnvalue::OK) {
|
||||
return mg.getLockResult();
|
||||
}
|
||||
empty = receiveSizesFifo->empty();
|
||||
return returnvalue::OK;
|
||||
}
|
@ -3,8 +3,7 @@
|
||||
ExtendedControllerBase::ExtendedControllerBase(object_id_t objectId, size_t commandQueueDepth)
|
||||
: ControllerBase(objectId, commandQueueDepth),
|
||||
poolManager(this, commandQueue),
|
||||
actionHelper(this, commandQueue) {
|
||||
}
|
||||
actionHelper(this, commandQueue) {}
|
||||
|
||||
ExtendedControllerBase::~ExtendedControllerBase() = default;
|
||||
|
||||
|
@ -11,7 +11,7 @@ FreshDeviceHandlerBase::FreshDeviceHandlerBase(DhbConfig config)
|
||||
healthHelper(this, getObjectId()),
|
||||
paramHelper(this),
|
||||
poolManager(this, nullptr),
|
||||
fdirInstance(config.fdirInstance),
|
||||
fdirInstance(config.fdirInstance),
|
||||
defaultFdirParent(config.defaultFdirParent) {
|
||||
auto mqArgs = MqArgs(config.objectId, static_cast<void*>(this));
|
||||
messageQueue = QueueFactory::instance()->createMessageQueue(
|
||||
|
Loading…
Reference in New Issue
Block a user