Commit a3434f09 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

forget to call camera reset

parent 83aeb4d1
......@@ -30,8 +30,10 @@ namespace lima
{
namespace Pilatus
{
class Interface;
class Camera
{
friend class Interface;
DEB_CLASS_NAMESPC(DebModCameraCom,"Camera","Pilatus");
public:
......
......@@ -513,6 +513,10 @@ void Interface::reset(ResetLevel reset_level)
m_buffer.setNbConcatFrames(1);
m_buffer.setNbBuffers(1);
if(reset_level == HardReset)
m_cam.hardReset();
else
m_cam.softReset();
}
//-----------------------------------------------------
......@@ -596,6 +600,7 @@ void Interface::getStatus(StatusType& status)
status.acq = AcqRunning;
}
status.det_mask = DetExposure;
DEB_TRACE() << DEB_VAR2(cam_status,status);
}
//-----------------------------------------------------
......
Supports Markdown
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