Skip to content

Commit

Permalink
applied fix from #2935
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Jan 31, 2023
1 parent 903f70c commit e5ced87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/devices/controlBoard_nws_yarp/RPCMessagesParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1231,10 +1231,10 @@ void RPCMessagesParser::handlePWMMsg(const yarp::os::Bottle& cmd, yarp::os::Bott

void RPCMessagesParser::handleRemoteVariablesMsg(const yarp::os::Bottle& cmd, yarp::os::Bottle& response, bool* rec, bool* ok)
{
yCTrace(CONTROLBOARD, "Handling IRemoteCalibrator message");
yCTrace(CONTROLBOARD, "Handling IRemoteVariables message");

if (!rpc_IRemoteCalibrator) {
yCError(CONTROLBOARD, "I do not have a valid IRemoteCalibrator interface");
if (!rpc_IVar) {
yCError(CONTROLBOARD, "I do not have a valid IRemoteVariables interface");
*ok = false;
return;
}
Expand Down

0 comments on commit e5ced87

Please sign in to comment.