Merge pull request #1312 from kwagyeman/kwabena/fix_mutex_init

Fix mutex init
This commit is contained in:
Ibrahim Abd Elkader 2021-05-13 21:01:51 +02:00 committed by GitHub
commit ea158be57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,8 @@ void framebuffer_init0()
memset(MAIN_FB(), 0, sizeof(*MAIN_FB()));
memset(JPEG_FB(), 0, sizeof(*JPEG_FB()));
mutex_init0(&JPEG_FB()->lock);
// Enable streaming.
MAIN_FB()->streaming_enabled = true; // controlled by the OpenMV Cam.