...
 
Commits (2)
......@@ -836,7 +836,7 @@ int BufferCtrlObj::_xferImag()
}
// -----------------------------------------------------------------------------------------
// loop - process the N frames
// loop - process the N frames
// (dwFrameIdx <= dwRequestedFrames)
// -----------------------------------------------------------------------------------------
......@@ -1014,6 +1014,9 @@ int BufferCtrlObj::_xferImag()
DEB_ALWAYS() << msg;
}
# if 0
// test code to stop the pco recording when the
// last image was acquired
// dwFrameIdx -> pco frame -> 1 ...
DWORD dwFrameIdx1 = dwFrameIdx + 1;
if ((dwFrameIdx) >= dwRequestedFrames)
......@@ -1027,6 +1030,7 @@ int BufferCtrlObj::_xferImag()
m_cam->_pco_SetRecordingState(0, error);
}
# endif
int xferRet = _xferImag_buff2lima(dwFrameIdx, bufIdx);
if (dbgTraceFifo)
......
......@@ -735,11 +735,8 @@ void _pco_acq_thread_edge(void *argin)
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");
......