tap_state_t end_state;
};
-typedef struct statemove_command_s
-{
+struct statemove_command {
/// state in which JTAG commands should finish
tap_state_t end_state;
-} statemove_command_t;
+};
typedef struct pathmove_command_s
{
typedef union jtag_command_container_u
{
struct scan_command* scan;
- statemove_command_t* statemove;
+ struct statemove_command* statemove;
pathmove_command_t* pathmove;
runtest_command_t* runtest;
stableclocks_command_t* stableclocks;
cmd->type = JTAG_STATEMOVE;
- cmd->cmd.statemove = cmd_queue_alloc(sizeof(statemove_command_t));
+ cmd->cmd.statemove = cmd_queue_alloc(sizeof(struct statemove_command));
cmd->cmd.statemove->end_state = state;
return ERROR_OK;