Skip to content

Commit

Permalink
Use a default value which allow to read the very first index
Browse files Browse the repository at this point in the history
  • Loading branch information
vallsv committed Dec 4, 2023
1 parent 89d582a commit 090eb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lima/Server/LimaCCDs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@ def readImage(self, frame_number):
#
# @returns Image if new image available since last_frame_number else None
@Core.DEB_MEMBER_FUNCT
def readLastImage(self, last_frame_number=0):
def readLastImage(self, last_frame_number=-1):
deb.Param("readLastImage: last_frame_number=%d" % last_frame_number)
status = self.__control.getStatus()
last_img_ready = status.ImageCounters.LastImageReady
Expand Down

0 comments on commit 090eb8d

Please sign in to comment.