diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:38:12 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:38:12 +0000 |
commit | 53d605e12c3765aeedabf2bfe0c5cc338dc95d5a (patch) | |
tree | 574d59fe89c1af06fbc67b38cb2d0a3f9a6ef1d7 /src/jtag/core.c | |
parent | 5e98c71436569d39ac9fe0fb66910f28c0e531f8 (diff) | |
download | riscv-openocd-53d605e12c3765aeedabf2bfe0c5cc338dc95d5a.zip riscv-openocd-53d605e12c3765aeedabf2bfe0c5cc338dc95d5a.tar.gz riscv-openocd-53d605e12c3765aeedabf2bfe0c5cc338dc95d5a.tar.bz2 |
- Fixes '!=' whitespace
- Replace ')\(!=\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(!=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(!=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/core.c')
-rw-r--r-- | src/jtag/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/core.c b/src/jtag/core.c index 6ebddfc..3190996 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -302,7 +302,7 @@ static void jtag_prelude(tap_state_t state) { jtag_checks(); - assert(state!=TAP_INVALID); + assert(state != TAP_INVALID); cmd_queue_cur_state = state; } @@ -676,7 +676,7 @@ tap_state_t jtag_set_end_state(tap_state_t state) LOG_ERROR("BUG: TAP_DRSHIFT/IRSHIFT can't be end state. Calling code should use a larger scan field"); } - if (state!=TAP_INVALID) + if (state != TAP_INVALID) cmd_queue_end_state = state; return cmd_queue_end_state; } @@ -1157,7 +1157,7 @@ static int jtag_init_inner(struct command_context_s *cmd_ctx) } jtag_add_tlr(); - if ((retval=jtag_execute_queue())!=ERROR_OK) + if ((retval=jtag_execute_queue()) != ERROR_OK) return retval; /* examine chain first, as this could discover the real chain layout */ |