Merge branch 'bugfix/fix_isp_awb_continuous_mode' into 'master'

fix(isp_awb): fixed continuous mode only triggered once

See merge request espressif/esp-idf!31478
This commit is contained in:
Kevin (Lao Kaiyao) 2024-06-14 10:05:52 +08:00
commit 20c2b24c97

View File

@ -259,6 +259,7 @@ static void IRAM_ATTR s_isp_awb_default_isr(void *arg)
need_yield |= high_task_awake == pdTRUE;
/* If started continuous sampling, then trigger the next AWB sample */
if (awb_ctlr->fsm == ISP_FSM_START) {
isp_ll_awb_enable(awb_ctlr->isp_proc->hal.hw, false);
isp_ll_awb_enable(awb_ctlr->isp_proc->hal.hw, true);
}
}