Skip to content

Commit

Permalink
Send updated exposure time to client in setupParams since this step i…
Browse files Browse the repository at this point in the history
…s executed after INDI::CCD::updateProperties is already executed.
  • Loading branch information
knro committed Nov 18, 2024
1 parent b68788d commit 4fd69c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indi-mi/mi_ccd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ bool MICCD::setupParams()
int expTime = 0;
gxccd_get_integer_parameter(cameraHandle, GIP_MINIMAL_EXPOSURE, &expTime);
minExpTime = expTime / 1000000.0; // convert to seconds
PrimaryCCD.setMinMaxStep("CCD_EXPOSURE", "CCD_EXPOSURE_VALUE", minExpTime, 3600, 1, false);
PrimaryCCD.setMinMaxStep("CCD_EXPOSURE", "CCD_EXPOSURE_VALUE", minExpTime, 3600, 1, true);

if (!sim && maxGainValue == 0)
{
Expand Down

0 comments on commit 4fd69c9

Please sign in to comment.