From 504ccd8f4611024a9724dbb4c8e97e186cb358af Mon Sep 17 00:00:00 2001 From: Chen Chen Date: Wed, 3 Jun 2026 12:03:51 +0800 Subject: [PATCH] fix(isp): fix ccm test case for esp32p4-rev1 --- .../esp_driver_isp/test_apps/isp/main/test_isp_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_driver_isp/test_apps/isp/main/test_isp_driver.c b/components/esp_driver_isp/test_apps/isp/main/test_isp_driver.c index 0c63121f030..f61794a9d75 100644 --- a/components/esp_driver_isp/test_apps/isp/main/test_isp_driver.c +++ b/components/esp_driver_isp/test_apps/isp/main/test_isp_driver.c @@ -214,7 +214,7 @@ TEST_CASE("ISP CCM basic function", "[isp]") esp_isp_ccm_config_t ccm_cfg = { .matrix = { - {16.0, 0.0, 0.0}, + {17.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0} }, @@ -227,7 +227,7 @@ TEST_CASE("ISP CCM basic function", "[isp]") TEST_ESP_ERR(ESP_ERR_INVALID_ARG, esp_isp_ccm_configure(isp_proc, &ccm_cfg)); // saturation case - ccm_cfg.matrix[0][0] = 5.0; + ccm_cfg.matrix[0][0] = 3.0; ccm_cfg.saturation = true; TEST_ESP_OK(esp_isp_ccm_configure(isp_proc, &ccm_cfg)); TEST_ESP_OK(esp_isp_ccm_enable(isp_proc));