Revise criteria on shot counter. Closes #153

This commit is contained in:
Mr-Dave
2024-06-05 18:19:03 -06:00
parent 80a65a50fd
commit e7f4a21cae

View File

@@ -133,7 +133,7 @@ static void mlp_ring_process(ctx_dev *cam)
cam->current_image = &cam->imgs.image_ring[cam->imgs.ring_out];
if (cam->current_image->shot < cam->conf->framerate) {
if (cam->current_image->shot <= cam->conf->framerate) {
if (cam->motapp->conf->log_level >= DBG) {
mlp_ring_process_debug(cam);
}
@@ -254,7 +254,7 @@ static void mlp_detected(ctx_dev *cam)
mlp_detected_trigger(cam);
if (cam->current_image->shot < conf->framerate) {
if (cam->current_image->shot <= conf->framerate) {
if ((conf->stream_motion == true) &&
(cam->motapp->conf->setup_mode == false) &&
(cam->current_image->shot != 1)) {