X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fcommands.h;h=5c2744359464545e6408018a202bd4a160d39f2a;hp=9d0747a6d6c33e115d749e47f0d6a24f427982ea;hb=22b220ad7f42ea288b1762692d079ecbde10ba24;hpb=cf2e402d71fa39dc8138985027b7ab8f4d510e81 diff --git a/src/jtag/commands.h b/src/jtag/commands.h index 9d0747a6d6..5c27443594 100644 --- a/src/jtag/commands.h +++ b/src/jtag/commands.h @@ -95,11 +95,10 @@ struct end_state_command { tap_state_t end_state; }; -typedef struct sleep_command_s -{ +struct sleep_command { /// number of microseconds to sleep uint32_t us; -} sleep_command_t; +}; /** * Defines a container type that hold a pointer to a JTAG command @@ -114,7 +113,7 @@ typedef union jtag_command_container_u struct stableclocks_command* stableclocks; struct reset_command* reset; struct end_state_command* end_state; - sleep_command_t* sleep; + struct sleep_command* sleep; } jtag_command_container_t; /**