Tweaks - old crusty code with some warnings & errors - minor stuff
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 22:35:35 +0000 (22:35 +0000)
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 22:35:35 +0000 (22:35 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1287 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/bitq.c
src/jtag/rlink/rlink.c

index 6dc9ec9690e3976c678cc02b81ee600294100602..a2e7c438c2e5b073825b6bbbab0909764f2630c0 100644 (file)
@@ -169,10 +169,12 @@ void bitq_path_move(pathmove_command_t *cmd)
        int i;
 
        for (i=0; i<=cmd->num_states; i++) {
-               if (tap_transitions[cur_state].low == cmd->path[i]) bitq_io(0, 0, 0);
-               else if (tap_transitions[cur_state].high == cmd->path[i]) bitq_io(1, 0, 0);
+               if (tap_transitions[cur_state].low == cmd->path[i]) 
+                       bitq_io(0, 0, 0);
+               else if (tap_transitions[cur_state].high == cmd->path[i]) 
+                       bitq_io(1, 0, 0);
                else {
-                       LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", jtag_state_name(cur_state), jtag_state_name(cmd->path[i)]);
+                       LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", jtag_state_name(cur_state), jtag_state_name(cmd->path[i]));
                        exit(-1);
                }
 
index 188ea56d0d9d33e2055cc8d98b6f666e1cecdde9..4b6dde2fc9ce37d03c978b01c381cd81769fb10f 100644 (file)
@@ -427,8 +427,7 @@ dtc_load_from_buffer(
  */
 static
 int
-dtc_start_download(
-) {
+dtc_start_download(void) {
        int     usb_err;
        u8      ep2txr;
 
@@ -611,8 +610,7 @@ struct {
 
 static
 int
-dtc_queue_init(
-) {
+dtc_queue_init(void) {
        dtc_queue.rq_head = NULL;
        dtc_queue.rq_tail = NULL;
        dtc_queue.cmd_index = 0;
@@ -663,8 +661,7 @@ dtc_queue_enqueue_reply(
 
 static
 int
-dtc_queue_run(
-) {
+dtc_queue_run(void) {
        dtc_reply_queue_entry_t *rq_p, *rq_next;
        int                     retval;
        int                     usb_err;
@@ -808,8 +805,7 @@ dtc_queue_run(
 
 static
 int
-tap_state_queue_init(
-) {
+tap_state_queue_init(void) {
        tap_state_queue.length = 0;
        tap_state_queue.buffer = 0;
        return(0);
@@ -818,8 +814,7 @@ tap_state_queue_init(
 
 static
 int
-tap_state_queue_run(
-) {
+tap_state_queue_run(void) {
        int     i;
        int     bits;
        u8      byte;

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)