Skip to content

Commit

Permalink
(Continued)
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Sep 13, 2024
1 parent f5bfc3b commit 4d1adc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hal/hisi/v4_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ int v4_pipeline_create(void)
{
v4_sys_oper mode[4];
v4_sys.fnGetViVpssMode((v4_sys_oper*)mode);
mode[_v4_vi_dev] = V4_SYS_OPER_VIOFF_VPSSON;
for (char i = 0; i < 4; i++)
mode[i] = V4_SYS_OPER_VIOFF_VPSSON;
if (ret = v4_sys.fnSetViVpssMode((v4_sys_oper*)mode))
return ret;
}
Expand Down
1 change: 1 addition & 0 deletions src/hal/hisi/v4_snr.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#define V4_SNR_LVDS_LANE_NUM 4
#define V4_SNR_MIPI_LANE_NUM 4
#define V4_SNR_WDR_VC_NUM 2
#define V4A_SNR_WDR_VC_NUM 4

enum {
V4_SNR_CMD_CONF_DEV = 1,
Expand Down

0 comments on commit 4d1adc6

Please sign in to comment.