Skip to content

Commit c1597d8

Browse files
sobucherhankur
authored andcommitted
jtag/drivers: tap_state_t -> enum tap_state in jtag_esp_remote.c in line with upstream
1 parent 43b3616 commit c1597d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jtag/drivers/jtag_esp_remote.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ static int jtag_esp_remote_tms(struct tms_command *cmd)
290290
return jtag_esp_remote_tms_seq(cmd->bits, cmd->num_bits);
291291
}
292292

293-
static int jtag_esp_remote_state_move(tap_state_t state)
293+
static int jtag_esp_remote_state_move(enum tap_state state)
294294
{
295-
const tap_state_t cur_state = tap_get_state();
295+
enum tap_state cur_state = tap_get_state();
296296
if (cur_state == state)
297297
return ERROR_OK;
298298

@@ -492,7 +492,7 @@ static int jtag_esp_remote_scan_read(struct scan_command *cmd)
492492
return retval;
493493
}
494494

495-
static int jtag_esp_remote_runtest(int cycles, tap_state_t end_state)
495+
static int jtag_esp_remote_runtest(int cycles, enum tap_state end_state)
496496
{
497497
int retval;
498498

0 commit comments

Comments
 (0)