Revise from restart_cam to restart_dev

This commit is contained in:
Mr-Dave
2023-01-21 14:20:50 -07:00
parent 77dd0a733a
commit de09df5654
5 changed files with 14 additions and 14 deletions

View File

@@ -423,7 +423,7 @@ static void mlp_init_camera_type(ctx_dev *cam)
, _("Unable to determine camera type"));
cam->camera_type = CAMERA_TYPE_UNKNOWN;
cam->finish_dev = true;
cam->restart_cam = false;
cam->restart_dev = false;
}
}
@@ -1433,7 +1433,7 @@ void *motion_loop(void *arg)
pthread_setspecific(tls_key_threadnr, (void *)((unsigned long)cam->threadnr));
cam->finish_dev = false;
cam->restart_cam = false;
cam->restart_dev = false;
cam->camera_status = STATUS_INIT;
while (cam->finish_dev == false) {