fix dvp-read problem caused by driver adaptation

This commit is contained in:
WuZheng 2022-12-23 09:09:54 +08:00
parent 0b5c6b0f9f
commit 9f6419e5f6
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ static uint32 DvpRead(void *dev, struct BusBlockReadParam *read_param)
dvp_set_output_enable(DVP_OUTPUT_DISPLAY, 0); dvp_set_output_enable(DVP_OUTPUT_DISPLAY, 0);
dvp_set_display_addr((uintptr_t)read_param->buffer); dvp_set_display_addr((uintptr_t)read_param->buffer);
dvp_set_output_enable(DVP_OUTPUT_DISPLAY, 1); dvp_set_output_enable(DVP_OUTPUT_DISPLAY, 1);
shoot_flag=CONTINOUS_SHOOTS;
dvp_config_interrupt(DVP_CFG_START_INT_ENABLE | DVP_CFG_FINISH_INT_ENABLE, 1);
return ret; return ret;
} }