summaryrefslogtreecommitdiff
path: root/src/jtag/commands.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 05:57:47 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commit8cc8c0544f3f24772d6644df16d5a70d4ffe8b4a (patch)
tree40698cd411413e6d887fff75cb423cc4f54fd722 /src/jtag/commands.h
parent2fecae46f62ca98657d650de9fc73d44247971e8 (diff)
downloadopenocd_libswd-8cc8c0544f3f24772d6644df16d5a70d4ffe8b4a.tar.gz
openocd_libswd-8cc8c0544f3f24772d6644df16d5a70d4ffe8b4a.tar.bz2
openocd_libswd-8cc8c0544f3f24772d6644df16d5a70d4ffe8b4a.tar.xz
openocd_libswd-8cc8c0544f3f24772d6644df16d5a70d4ffe8b4a.zip
reset_command_t -> struct reset_command
Remove misleading typedef from struct reset_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 509ca5aa..0a4d7233 100644
--- a/src/jtag/commands.h
+++ b/src/jtag/commands.h
@@ -83,13 +83,12 @@ struct stableclocks_command {
};
-typedef struct reset_command_s
-{
+struct reset_command {
/// Set TRST output: 0 = deassert, 1 = assert, -1 = no change
int trst;
/// Set SRST output: 0 = deassert, 1 = assert, -1 = no change
int srst;
-} reset_command_t;
+};
typedef struct end_state_command_s
{
@@ -114,7 +113,7 @@ typedef union jtag_command_container_u
struct pathmove_command* pathmove;
struct runtest_command* runtest;
struct stableclocks_command* stableclocks;
- reset_command_t* reset;
+ struct reset_command* reset;
end_state_command_t* end_state;
sleep_command_t* sleep;
} jtag_command_container_t;