Skip to content

Commit

Permalink
drivers/video/isx019: Fix uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
SPRESENSE authored Jul 29, 2022
2 parents 8b7416c + e30eaf9 commit c7eb96d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/video/isx019.c
Original file line number Diff line number Diff line change
Expand Up @@ -2856,16 +2856,14 @@ static int get_exptime(imgsensor_value_t *val)

static int get_awb(imgsensor_value_t *val)
{
int ret;

if (val == NULL)
{
return -EINVAL;
}

val->value32 = is_awb_enable();

return ret;
return OK;
}

static int get_wbmode(imgsensor_value_t *val)
Expand Down

0 comments on commit c7eb96d

Please sign in to comment.