mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix mutex init
This commit is contained in:
parent
da708dc18e
commit
ada18eceed
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user