Fix mutex init

This commit is contained in:
Kwabena W. Agyeman 2021-05-13 07:32:08 -07:00
parent da708dc18e
commit ada18eceed

View File

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