We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9740a4d commit 0fb31afCopy full SHA for 0fb31af
src/jtag/drivers/jtag_vpi.c
@@ -461,7 +461,7 @@ static int jtag_vpi_stableclocks(unsigned int num_cycles)
461
unsigned int cycles_remain = num_cycles;
462
int nb_bits;
463
int retval;
464
- const int CYCLES_ONE_BATCH = sizeof(tms_bits) * 8;
+ const unsigned int CYCLES_ONE_BATCH = sizeof(tms_bits) * 8;
465
466
/* use TMS=1 in TAP RESET state, TMS=0 in all other stable states */
467
memset(&tms_bits, (tap_get_state() == TAP_RESET) ? 0xff : 0x00, sizeof(tms_bits));
0 commit comments