This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit baa2dc5cad84c96f8a306916d36e5a190e007bf0
Author: SPRESENSE <41312067+sprese...@users.noreply.github.com>
AuthorDate: Mon Jan 22 19:13:29 2024 +0900

    drivers/video/isx019: Store initial gamma value
    
    Set initial gamma value to enable application to get
    the correct initial gamma value.
---
 drivers/video/isx019.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/video/isx019.c b/drivers/video/isx019.c
index bd3b18397a..1da6d4bb84 100644
--- a/drivers/video/isx019.c
+++ b/drivers/video/isx019.c
@@ -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.
    */

Reply via email to