From 5e46dba0f7061818b003a323ebc1d2f5b92bf552 Mon Sep 17 00:00:00 2001 From: gaoxu Date: Fri, 13 Sep 2024 14:21:06 +0800 Subject: [PATCH] fix(adc): fix isp contrast and saturation max value --- components/hal/esp32p4/include/hal/isp_ll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/hal/esp32p4/include/hal/isp_ll.h b/components/hal/esp32p4/include/hal/isp_ll.h index dcbf678933..9deb1b8781 100644 --- a/components/hal/esp32p4/include/hal/isp_ll.h +++ b/components/hal/esp32p4/include/hal/isp_ll.h @@ -96,8 +96,8 @@ extern "C" { /*--------------------------------------------------------------- Color ---------------------------------------------------------------*/ -#define ISP_LL_COLOR_CONTRAST_MAX 0x80 -#define ISP_LL_COLOR_SATURATION_MAX 0x80 +#define ISP_LL_COLOR_CONTRAST_MAX 0xff +#define ISP_LL_COLOR_SATURATION_MAX 0xff #define ISP_LL_COLOR_HUE_MAX 360 #define ISP_LL_COLOR_BRIGNTNESS_MIN -128 #define ISP_LL_COLOR_BRIGNTNESS_MAX 127