Skip to content

Commit

Permalink
Initialize imgs to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Dave committed Aug 19, 2024
1 parent 0115ed1 commit 9dde393
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,8 @@ void cls_camera::init_values()
frame_wait[indx]=0;
}

memset(&imgs,0,sizeof(ctx_images));

}

/* start the camera */
Expand Down

0 comments on commit 9dde393

Please sign in to comment.