Skip to content

Commit

Permalink
Add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Dec 18, 2024
1 parent 0cd5c62 commit cb3e35e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indi-gphoto/gphoto_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1370,6 +1370,7 @@ int gphoto_read_exposure_fd(gphoto_driver *gphoto, int fd)
{
gphoto->command = 0;
pthread_mutex_unlock(&gphoto->mutex);
DEBUGDEVICE(device, INDI::Logger::DBG_DEBUG, "Image is ignored per settings.");
return GP_OK;
}

Expand All @@ -1386,6 +1387,7 @@ int gphoto_read_exposure_fd(gphoto_driver *gphoto, int fd)
gphoto->command = 0;
uint32_t waitMS = gphoto->download_timeout * 1000;
bool downloadComplete = false;
DEBUGFDEVICE(device, INDI::Logger::DBG_DEBUG, "Waiting for event for %d seconds.", gphoto->download_timeout);

while (1)
{
Expand Down

0 comments on commit cb3e35e

Please sign in to comment.