};
-typedef struct stableclocks_command_s
-{
+struct stableclocks_command {
/// number of clock cycles that should be sent
int num_cycles;
-} stableclocks_command_t;
+};
typedef struct reset_command_s
struct statemove_command* statemove;
struct pathmove_command* pathmove;
struct runtest_command* runtest;
- stableclocks_command_t* stableclocks;
+ struct stableclocks_command* stableclocks;
reset_command_t* reset;
end_state_command_t* end_state;
sleep_command_t* sleep;
cmd->type = JTAG_STABLECLOCKS;
- cmd->cmd.stableclocks = cmd_queue_alloc(sizeof(stableclocks_command_t));
+ cmd->cmd.stableclocks = cmd_queue_alloc(sizeof(struct stableclocks_command));
cmd->cmd.stableclocks->num_cycles = num_cycles;
return ERROR_OK;