Skip to content

Commit

Permalink
fixed IMX296 max_ExposureTime; release 2.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptorron committed May 15, 2024
1 parent ca26c1f commit ca946c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2.6.4
- fixed maximum exposure time for cameras reporting max < min (for instance for IMX296)

2.6.3
- fixed installation issues

Expand Down
2 changes: 1 addition & 1 deletion src/indi_pylibcamera/CameraControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def openCamera(self, idx: int):
self.min_ExposureTime, self.max_ExposureTime, default_exp = self.camera_controls["ExposureTime"]
self.min_AnalogueGain, self.max_AnalogueGain, default_again = self.camera_controls["AnalogueGain"]
# workaround for cameras reporting max_ExposureTime=0 (IMX296)
self.max_ExposureTime = self.max_ExposureTime if self.min_ExposureTime < self.max_ExposureTime else 1000.0
self.max_ExposureTime = self.max_ExposureTime if self.min_ExposureTime < self.max_ExposureTime else 1000.0e6
self.max_AnalogueGain = self.max_AnalogueGain if self.min_AnalogueGain < self.max_AnalogueGain else 1000.0
# TODO
force_Restart = self.config.get("driver", "force_Restart", fallback="auto").lower()
Expand Down
2 changes: 1 addition & 1 deletion src/indi_pylibcamera/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
INDI driver for libcamera supported cameras
"""

__version__ = "2.6.3"
__version__ = "2.6.4"
2 changes: 1 addition & 1 deletion src/indi_pylibcamera/indi_pylibcamera.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<devGroup group="CCDs">
<device label="INDI pylibcamera">
<driver name="INDI pylibcamera">indi_pylibcamera</driver>
<version>2.6.3</version>
<version>2.6.4</version>
</device>
</devGroup>
</driversList>

0 comments on commit ca946c2

Please sign in to comment.