mirror of
https://github.com/apache/nuttx.git
synced 2025-12-08 19:02:43 +08:00
drivers/video: minor fix
Fix missing header for bool in imgsensor.h and FAR in video.c Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
@@ -1584,7 +1584,7 @@ static int validate_frame_setting(enum v4l2_buf_type type,
|
||||
return g_video_data_ops->validate_frame_setting(nr_fmt, df, &di);
|
||||
}
|
||||
|
||||
static size_t get_bufsize(video_format_t *vf)
|
||||
static size_t get_bufsize(FAR video_format_t *vf)
|
||||
{
|
||||
size_t ret = vf->width * vf->height;
|
||||
switch (vf->pixelformat)
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
||||
Reference in New Issue
Block a user