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:
SPRESENSE
2024-01-22 19:13:29 +09:00
committed by Alin Jerpelea
parent 2b04210b16
commit baa2dc5cad
+4
View File
@@ -1396,6 +1396,10 @@ static int isx019_init(FAR struct imgsensor_s *sensor)
initialize_wbmode(priv); initialize_wbmode(priv);
initialize_jpg_quality(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, /* Because store_default_value() needs the clock ratio,
* clock_ratio has to be calculated first. * clock_ratio has to be calculated first.
*/ */