statemove_command_t -> struct statemove_command
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 13:52:51 +0000 (05:52 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:05 +0000 (11:58 -0800)
Remove misleading typedef from struct statemove_command.

src/jtag/commands.h
src/jtag/driver.c

index d13a9ab448f7c0fab27c220159b7acefab132625..858f7aad5011529ad36682ea59e286573a7039c7 100644 (file)
@@ -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;
index d50ae9055ed2e0367592200b08096271bb2da1d1..6f205734903e42ba5ae2c1993f670f6395a4cb1e 100644 (file)
@@ -377,7 +377,7 @@ int interface_jtag_add_tlr(void)
 
        cmd->type = JTAG_STATEMOVE;
 
-       cmd->cmd.statemove = cmd_queue_alloc(sizeof(statemove_command_t));
+       cmd->cmd.statemove = cmd_queue_alloc(sizeof(struct statemove_command));
        cmd->cmd.statemove->end_state = state;
 
        return ERROR_OK;

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)