diff --git a/MMCore/MMCore.cpp b/MMCore/MMCore.cpp index 623f53546..cc7ad3056 100644 --- a/MMCore/MMCore.cpp +++ b/MMCore/MMCore.cpp @@ -6359,24 +6359,6 @@ bool CMMCore::PressurePumpRequiresCalibration(const char* deviceLabel) throw (CM return pPump->requiresCalibration(); } -/** -* Sets the pressure of the pump in kPa -*/ -void CMMCore::setPumpPressure(const char* deviceLabel, double pressurekPa) throw (CMMError) -{ - std::shared_ptr pPump = - deviceManager_->GetDeviceOfType(deviceLabel); - mm::DeviceModuleLockGuard guard(pPump); - - int ret = pPump->setPressure(pressurekPa); - - if (ret != DEVICE_OK) - { - logError(deviceLabel, getDeviceErrorText(ret, pPump).c_str()); - throw CMMError(getDeviceErrorText(ret, pPump)); - } -} - /** * Gets the pressure of the pump in kPa */