Skip to content

Commit

Permalink
Use gphoto2 CAPTURECOMPLETE event (#1255)
Browse files Browse the repository at this point in the history
* This just replaces a hard-coded time wait with the official event notice.
  • Loading branch information
wtgee authored May 6, 2024
1 parent 2cff5da commit 4ec2240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panoptes/pocs/camera/gphoto/canon.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _start_exposure(
f'--set-config-index', 'eosremoterelease=2',
f'--wait-event={int(seconds):d}s',
f'--set-config-index', 'eosremoterelease=4',
f'--wait-event-and-download=2s',
f'--wait-event-and-download=CAPTURECOMPLETE',
]
)
else:
Expand Down

0 comments on commit 4ec2240

Please sign in to comment.