Added data_register to instruction.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@114 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent 6fb23419e1
commit 7c63ea77c5

@ -26,12 +26,14 @@
#define JTAG_INSTRUCTION_H
#include <jtag/register.h>
#include <jtag/data_register.h>
typedef struct instruction instruction;
struct instruction {
char *name;
tap_register *value;
data_register *data_register;
instruction *next;
};

@ -53,6 +53,7 @@ instruction_alloc( const char *name, int len, const char *val )
}
register_init( i->value, val );
i->data_register = NULL;
i->next = NULL;
return i;

Loading…
Cancel
Save