Skip to content

Commit

Permalink
cleaned up after merge
Browse files Browse the repository at this point in the history
git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@1569 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
  • Loading branch information
nenad committed Sep 24, 2008
1 parent 47e447b commit 703dea5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
28 changes: 0 additions & 28 deletions DeviceAdapters/Hamamatsu/Hamamatsu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,34 +524,6 @@ int CHamamatsu::OnPhotonImagingMode(MM::PropertyBase* pProp, MM::ActionType eAct
return DEVICE_OK;
}

// Output Trigger Polarity
int CHamamatsu::OnOutputTriggerPolarity(MM::PropertyBase* pProp, MM::ActionType eAct)
{
if (eAct == MM::AfterSet)
{
double mode;
pProp->Get(mode);
// Not sure if we need to shut down the image buffer
int ret = ShutdownImageBuffer();
if (ret != DEVICE_OK)
return ret;
if (!dcam_setpropertyvalue(m_hDCAM, DCAM_IDPROP_OUTPUTTRIGGER_POLARITY, mode))
return ReportError("Error in dcam_setpropertyvalue (outputtriggerpolarity): ");

ret = ResizeImageBuffer();
if (ret != DEVICE_OK)
return ret;
}
else if (eAct == MM::BeforeGet)
{
double polarity;
if (!dcam_getpropertyvalue(m_hDCAM, DCAM_IDPROP_OUTPUTTRIGGER_POLARITY, &polarity))
return ReportError("Error in dcam_getpropertyvalue (outputtriggerpolarity): ");
pProp->Set(polarity);
}
return DEVICE_OK;
}

// ReadoutTime
int CHamamatsu::OnReadoutTime(MM::PropertyBase* pProp, MM::ActionType eAct)
{
Expand Down
2 changes: 2 additions & 0 deletions DeviceAdapters/NikonTE2000/NikonTE2000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,8 @@ int PFSOffset::SetPositionSteps(long steps)
int ret = g_hub.SetPFocusPosition(*this, *GetCoreCallback(), steps);
if (ret != 0)
return ret;

return DEVICE_OK;
}

int PFSOffset::GetPositionSteps(long& steps)
Expand Down
6 changes: 3 additions & 3 deletions MMCore/CoreCallback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,17 +246,17 @@ const char* CoreCallback::GetImage()
}
}

int CoreCallback::GetImageDimensions(int& width, int& height, int& depth)
int CoreCallback::GetImageDimensions(int& /*width*/, int& /*height*/, int& /*depth*/)
{
return DEVICE_OK;
}

int CoreCallback::GetFocusPosition(double& pos)
int CoreCallback::GetFocusPosition(double& /*pos*/)
{
return DEVICE_OK;
}

int CoreCallback::SetFocusPosition(double pos)
int CoreCallback::SetFocusPosition(double /*pos*/)
{
return DEVICE_OK;
}
Expand Down

0 comments on commit 703dea5

Please sign in to comment.