Skip to content
Snippets Groups Projects
Commit b777c9b2 authored by Ruud Overeem's avatar Ruud Overeem
Browse files

Task #1418: Fixed resultcheck of parent control. Was lost in a merge conflict... :-(

parent db15e323
No related branches found
No related tags found
No related merge requests found
...@@ -532,7 +532,7 @@ bool ParentControl::_confirmState(uint16 signal, ...@@ -532,7 +532,7 @@ bool ParentControl::_confirmState(uint16 signal,
return (true); return (true);
} }
if (result != CT_RESULT_NO_ERROR) { // error reaching a state? if (F_ERR_NR(result) != 0) { // error reaching a state?
parent->failed = true; // report problem parent->failed = true; // report problem
LOG_INFO_STR(cntlrName << " DID NOT reach the " << cts.name(requestedState(signal)) << " state, error=" << result); LOG_INFO_STR(cntlrName << " DID NOT reach the " << cts.name(requestedState(signal)) << " state, error=" << result);
return (false); return (false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment