mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
fix(isp): fix ccm test case for esp32p4-rev1
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user