Skip to content

Commit

Permalink
Need to continue instead of break
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Dec 25, 2024
1 parent cb7b16e commit 3a7b4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indi-gphoto/gphoto_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3a7b4b1

Please sign in to comment.