X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fcommands.h;h=f43a4149b299c4939962b4ca940b6dec6d96878b;hp=d13a9ab448f7c0fab27c220159b7acefab132625;hb=5f6d8ecf8c2cf1427a8677155843081d07ff57c4;hpb=2ddeec9db5a8771c948294b7194778a95295b7a0 diff --git a/src/jtag/commands.h b/src/jtag/commands.h index d13a9ab448..f43a4149b2 100644 --- a/src/jtag/commands.h +++ b/src/jtag/commands.h @@ -57,27 +57,24 @@ struct scan_command { 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 -{ +struct pathmove_command { /// number of states in *path int num_states; /// states that have to be passed tap_state_t* path; -} pathmove_command_t; +}; -typedef struct runtest_command_s -{ +struct runtest_command { /// number of cycles to spend in Run-Test/Idle state int num_cycles; /// state in which JTAG commands should finish tap_state_t end_state; -} runtest_command_t; +}; typedef struct stableclocks_command_s @@ -114,9 +111,9 @@ typedef struct sleep_command_s typedef union jtag_command_container_u { struct scan_command* scan; - statemove_command_t* statemove; - pathmove_command_t* pathmove; - runtest_command_t* runtest; + struct statemove_command* statemove; + struct pathmove_command* pathmove; + struct runtest_command* runtest; stableclocks_command_t* stableclocks; reset_command_t* reset; end_state_command_t* end_state;