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

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

index 509ca5aadb0ab7fdb286588183c3e5e002f3cce6..0a4d7233046394b953a51a4d26f46e41cbfb0cc8 100644 (file)
@@ -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;
index 1f28d183ab70044e5b4816bde6594f3113d7bc0a..42403a0a71245b41a2f278274042c27ad3bf896f 100644 (file)
@@ -442,7 +442,7 @@ int interface_jtag_add_reset(int req_trst, int req_srst)
 
        cmd->type = JTAG_RESET;
 
-       cmd->cmd.reset = cmd_queue_alloc(sizeof(reset_command_t));
+       cmd->cmd.reset = cmd_queue_alloc(sizeof(struct reset_command));
        cmd->cmd.reset->trst = req_trst;
        cmd->cmd.reset->srst = req_srst;
 

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)