From 9dde3939dc3d487f8f0736f2c7636654e21eccee Mon Sep 17 00:00:00 2001 From: Mr-Dave Date: Sun, 18 Aug 2024 19:21:23 -0600 Subject: [PATCH] Initialize imgs to zero --- src/camera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/camera.cpp b/src/camera.cpp index 5955bd6..69350d9 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -638,6 +638,8 @@ void cls_camera::init_values() frame_wait[indx]=0; } + memset(&imgs,0,sizeof(ctx_images)); + } /* start the camera */