mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
lib/imlib: Send stream events.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
0762ee1d6f
commit
bd93ccd23d
@ -29,6 +29,7 @@
|
||||
#include "fmath.h"
|
||||
#include "framebuffer.h"
|
||||
#include "omv_boardconfig.h"
|
||||
#include "omv_protocol.h"
|
||||
|
||||
// Main framebuffer memory
|
||||
extern char _fb_memory_start;
|
||||
@ -354,6 +355,8 @@ void framebuffer_update_preview(image_t *src) {
|
||||
framebuffer_from_image(fb, &dst);
|
||||
}
|
||||
|
||||
omv_protocol_send_event(OMV_PROTOCOL_CHANNEL_ID_STREAM, OMV_PROTOCOL_EVENT_NOTIFY, false);
|
||||
|
||||
exit_cleanup:
|
||||
header->width = fb->w;
|
||||
header->height = fb->h;
|
||||
|
Loading…
Reference in New Issue
Block a user