summaryrefslogtreecommitdiff
path: root/src/jtag/commands.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 05:52:51 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commitaf3f4a0bbefd796bd40602ae28f66dd373272e6a (patch)
tree0a7bbcb02c1b95055617b87dd5c67466e0ceb28d /src/jtag/commands.h
parente11c5a3b42a2a39c5b24c9a19ba03f7b16caf3d7 (diff)
downloadopenocd_libswd-af3f4a0bbefd796bd40602ae28f66dd373272e6a.tar.gz
openocd_libswd-af3f4a0bbefd796bd40602ae28f66dd373272e6a.tar.bz2
openocd_libswd-af3f4a0bbefd796bd40602ae28f66dd373272e6a.tar.xz
openocd_libswd-af3f4a0bbefd796bd40602ae28f66dd373272e6a.zip
statemove_command_t -> struct statemove_command
Remove misleading typedef from struct statemove_command.
Diffstat (limited to 'src/jtag/commands.h')
-rw-r--r--src/jtag/commands.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jtag/commands.h b/src/jtag/commands.h
index d13a9ab4..858f7aad 100644
--- a/src/jtag/commands.h
+++ b/src/jtag/commands.h
@@ -57,11 +57,10 @@ 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
{
@@ -114,7 +113,7 @@ typedef struct sleep_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;