summaryrefslogtreecommitdiff
path: root/src/jtag/commands.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 05:54:16 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commitc07f0600ff3c77a00efaf4bdcd4dc3691f0421f6 (patch)
treee91376930bc5a327f1f794fd0ffa6aa490a2eaca /src/jtag/commands.h
parentaf3f4a0bbefd796bd40602ae28f66dd373272e6a (diff)
downloadopenocd+libswd-c07f0600ff3c77a00efaf4bdcd4dc3691f0421f6.tar.gz
openocd+libswd-c07f0600ff3c77a00efaf4bdcd4dc3691f0421f6.tar.bz2
openocd+libswd-c07f0600ff3c77a00efaf4bdcd4dc3691f0421f6.tar.xz
openocd+libswd-c07f0600ff3c77a00efaf4bdcd4dc3691f0421f6.zip
pathmove_command_t -> struct pathmove_command
Remove misleading typedef from struct pathmove_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 858f7aad..f5793de5 100644
--- a/src/jtag/commands.h
+++ b/src/jtag/commands.h
@@ -62,13 +62,12 @@ struct statemove_command {
tap_state_t end_state;
};
-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
{
@@ -114,7 +113,7 @@ typedef union jtag_command_container_u
{
struct scan_command* scan;
struct statemove_command* statemove;
- pathmove_command_t* pathmove;
+ struct pathmove_command* pathmove;
runtest_command_t* runtest;
stableclocks_command_t* stableclocks;
reset_command_t* reset;