mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
drivers/video/isx019: Store initial gamma value
Set initial gamma value to enable application to get the correct initial gamma value.
This commit is contained in:
@@ -1396,6 +1396,10 @@ static int isx019_init(FAR struct imgsensor_s *sensor)
|
||||
initialize_wbmode(priv);
|
||||
initialize_jpg_quality(priv);
|
||||
|
||||
/* Set initial gamma value for getting current value API. */
|
||||
|
||||
priv->gamma = 1000;
|
||||
|
||||
/* Because store_default_value() needs the clock ratio,
|
||||
* clock_ratio has to be calculated first.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user