[wip] trace error

parent 5697fd8b
Pipeline #12268 passed with stages
in 8 minutes and 47 seconds
......@@ -729,15 +729,21 @@ void _pco_acq_thread_edge(void *argin)
case pcoAcqPcoError:
errMsg = "pcoAcqPcoError";
break;
default:
errMsg = NULL;
}
if (errMsg)
if (errMsg != NULL)
{
printf("=== %s [%d]> TRACE %s\n", fnId, __LINE__, "EVENT");
Event *ev = new Event(Hardware, Event::Error, Event::Camera,
Event::CamFault, errMsg);
m_cam->_getPcoHwEventCtrlObj()->reportEvent(ev);
}
printf("=== %s [%d]> TRACE %s\n", fnId, __LINE__, "exit thread");
_endthread();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment