huh
This commit is contained in:
@ -311,7 +311,7 @@ ReturnValue_t Max31865RtdReader::readReceivedMessage(CookieIF* cookie, uint8_t**
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
auto* rtdCookie = dynamic_cast<Max31865ReaderCookie*>(cookie);
|
||||
if(rtdCookie == nullptr) {
|
||||
if (rtdCookie == nullptr) {
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
uint8_t* exchangePtr = rtdCookie->exchangeBuf.data();
|
||||
|
@ -34,7 +34,7 @@ ReturnValue_t ScexUartReader::performOperation(uint8_t operationCode) {
|
||||
lock->unlockMutex();
|
||||
while (true) {
|
||||
semaphore->acquire();
|
||||
sif::info << "task was started" << std::endl;
|
||||
sif::info << "ScexUartReader::performOperation:task was started" << std::endl;
|
||||
int bytesRead = 0;
|
||||
while (true) {
|
||||
bytesRead = read(serialPort, reinterpret_cast<void *>(recBuf.data()),
|
||||
@ -42,7 +42,7 @@ ReturnValue_t ScexUartReader::performOperation(uint8_t operationCode) {
|
||||
if (bytesRead == 0) {
|
||||
MutexGuard mg(lock);
|
||||
if (state == States::FINISH) {
|
||||
sif::debug << "finish detected" << std::endl;
|
||||
sif::debug << "ScexUartReader::performOperation:finish detected" << std::endl;
|
||||
state = States::IDLE;
|
||||
break;
|
||||
}
|
||||
@ -67,7 +67,7 @@ ReturnValue_t ScexUartReader::performOperation(uint8_t operationCode) {
|
||||
}
|
||||
};
|
||||
// task block comes here
|
||||
sif::info << "task was stopped" << std::endl;
|
||||
sif::info << "ScexUartReader::performOperation: task was stopped" << std::endl;
|
||||
}
|
||||
return OK;
|
||||
}
|
||||
|
@ -417,7 +417,7 @@ ReturnValue_t PlocSupervisorHandler::buildCommandFromCommand(DeviceCommandId_t d
|
||||
break;
|
||||
}
|
||||
case LOGGING_SET_TOPIC: {
|
||||
if(commandData == nullptr or commandDataLen == 0) {
|
||||
if (commandData == nullptr or commandDataLen == 0) {
|
||||
return HasActionsIF::INVALID_PARAMETERS;
|
||||
}
|
||||
uint8_t tpc = *(commandData);
|
||||
|
Reference in New Issue
Block a user