Skip to content

Commit

Permalink
Fix boolean comparator for setpoint return value
Browse files Browse the repository at this point in the history
  • Loading branch information
daleghent committed Nov 1, 2024
1 parent b99bce3 commit 7254d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cam_qhy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ bool Camera_QHY::SetCoolerSetpoint(double temperature)
Debug.Write(wxString::Format("QHY: setting cooler setpoint to %g\n", temperature));

coolerSetpoint = temperature;
return SetQHYCCDParam(m_camhandle, CONTROL_COOLER, temperature) != QHYCCD_SUCCESS;
return SetQHYCCDParam(m_camhandle, CONTROL_COOLER, temperature) == QHYCCD_SUCCESS;
}

bool Camera_QHY::EnumCameras(wxArrayString& names, wxArrayString& ids)
Expand Down

0 comments on commit 7254d91

Please sign in to comment.