Skip to content

Commit

Permalink
jtagtap: fixup2! update signature of jtagtap_tms_seq()
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer committed Dec 2, 2023
1 parent f0196d6 commit 2721f24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platforms/common/jtagtap.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ static void jtagtap_tms_seq_no_delay(uint32_t tms_states, const size_t clock_cyc
}
}

static void jtagtap_tms_seq(const uint32_t tms_states, const size_t ticks)
static void jtagtap_tms_seq(const uint32_t tms_states, const size_t clock_cycles)
{
gpio_set(TDI_PORT, TDI_PIN);
if (target_clk_divider != UINT32_MAX)
jtagtap_tms_seq_clk_delay(tms_states, ticks);
jtagtap_tms_seq_clk_delay(tms_states, clock_cycles);
else
jtagtap_tms_seq_no_delay(tms_states, ticks);
jtagtap_tms_seq_no_delay(tms_states, clock_cycles);
}

static void jtagtap_tdi_tdo_seq_clk_delay(
Expand Down

0 comments on commit 2721f24

Please sign in to comment.