/// The current TAP state of the pending JTAG command queue.
extern tap_state_t cmd_queue_cur_state;
-/// The TAP state in which DR scans should end.
-extern tap_state_t cmd_queue_end_state;
/**
* This structure defines a single scan field in the scan. It provides
void embeddedice_write_dcc(jtag_tap_t *tap, int reg_addr, u8 *buffer, int little, int count)
{
// static int const reg_addr=0x5;
- tap_state_t end_state=cmd_queue_end_state;
+ tap_state_t end_state=jtag_add_end_state(TAP_INVALID);
if (jtag_NextEnabledTap(jtag_NextEnabledTap(NULL))==NULL)
{
/* better performance via code duplication */