do a commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
parent
56840deb9b
commit
1de832509a
@ -192,6 +192,10 @@ ReturnValue_t ImtqHandler::buildCommandFromCommand(DeviceCommandId_t deviceComma
|
|||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
result = dipoleSet.commit();
|
||||||
|
if (result != returnvalue::OK) {
|
||||||
|
sif::error << "ImtqHandler::buildCommandFromCommand: commit failed" << std::endl;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Read set dipole values from local pool
|
// Read set dipole values from local pool
|
||||||
PoolReadGuard pg(&dipoleSet);
|
PoolReadGuard pg(&dipoleSet);
|
||||||
|
@ -102,7 +102,6 @@ ReturnValue_t RwHandler::buildCommandFromCommand(DeviceCommandId_t deviceCommand
|
|||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
}
|
}
|
||||||
case (RwDefinitions::SET_SPEED): {
|
case (RwDefinitions::SET_SPEED): {
|
||||||
sif::debug << "hello" << std::endl;
|
|
||||||
if (commandData != nullptr && commandDataLen != 6) {
|
if (commandData != nullptr && commandDataLen != 6) {
|
||||||
sif::error << "RwHandler::buildCommandFromCommand: Received set speed command with"
|
sif::error << "RwHandler::buildCommandFromCommand: Received set speed command with"
|
||||||
<< " invalid length" << std::endl;
|
<< " invalid length" << std::endl;
|
||||||
@ -117,6 +116,10 @@ ReturnValue_t RwHandler::buildCommandFromCommand(DeviceCommandId_t deviceCommand
|
|||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
result = rwSpeedActuationSet.commit();
|
||||||
|
if (result != returnvalue::OK) {
|
||||||
|
sif::error << "RwHandler::buildCommandFromCommand: commit failed" << std::endl;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Read set rw speed value from local pool
|
// Read set rw speed value from local pool
|
||||||
PoolReadGuard pg(&rwSpeedActuationSet);
|
PoolReadGuard pg(&rwSpeedActuationSet);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user