From 3a7b4b1e36ce2a94d5d8f211bf419ddfb86d0d7e Mon Sep 17 00:00:00 2001 From: Jasem Mutlaq Date: Wed, 25 Dec 2024 10:40:29 +0300 Subject: [PATCH] Need to continue instead of break --- indi-gphoto/gphoto_driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indi-gphoto/gphoto_driver.cpp b/indi-gphoto/gphoto_driver.cpp index 23574fa9c..3fb599268 100644 --- a/indi-gphoto/gphoto_driver.cpp +++ b/indi-gphoto/gphoto_driver.cpp @@ -1404,7 +1404,7 @@ int gphoto_read_exposure_fd(gphoto_driver *gphoto, int fd) if (no_event_retries-- > 0) { usleep(250000); - break; + continue; } pthread_mutex_unlock(&gphoto->mutex); return -1;