Skip to content

Commit

Permalink
mipi_syst: fix build error when having protocol timestamp disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Fang Huang <fang.huang@intel.com>
  • Loading branch information
helen741 authored and nashif committed Oct 18, 2023
1 parent a819419 commit 71ace1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/src/mipi_syst_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ enum syst_scatter_ops {
SCATTER_OP_CATID_32,
SCATTER_OP_CATID_64,
SCATTER_OP_CATID_ARGS,
SCATTER_OP_CLOCK,
#if defined(MIPI_SYST_PCFG_ENABLE_TIMESTAMP)
SCATTER_OP_CLOCK,
SCATTER_OP_TS,
#endif
#if defined(MIPI_SYST_PCFG_ENABLE_BUILD_API)
Expand Down Expand Up @@ -152,13 +152,13 @@ static const struct mipi_syst_scatter_prog scatter_ops[] = {
MIPI_SYST_EVDSC_MEMBER_OFF(ed_pld.data_catid.param),
0}
,
#if defined(MIPI_SYST_PCFG_ENABLE_TIMESTAMP)
{ /* SCATTER_OP_CLOCK */
MIPI_SYST_SCATTER_OP_64BIT,
MIPI_SYST_EVDSC_MEMBER_OFF(ed_pld.data_clock),
2}
,
#if defined(MIPI_SYST_PCFG_ENABLE_TIMESTAMP) /* SCATTER_OP_TS */
{
{ /* SCATTER_OP_TS */
MIPI_SYST_SCATTER_OP_64BIT,
MIPI_SYST_EVDSC_MEMBER_OFF(ed_ts),
1}
Expand Down

0 comments on commit 71ace1f

Please sign in to comment.