diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:44:17 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:44:17 +0000 |
commit | 8959de9f679cfd0436d731fd91b88a68b9a75fa6 (patch) | |
tree | 8d9bc182b4adc0e718ffafdbd12469d8c8bb14d9 /src/xsvf | |
parent | 84df52f9ea78e2d71bde648a16b69d80404c6421 (diff) | |
download | openocd_libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.gz openocd_libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.bz2 openocd_libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.xz openocd_libswd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.zip |
- Fixes '+' whitespace
- Replace ')\(+\)(' with ') \1 ('.
- 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@2373 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/xsvf')
-rw-r--r-- | src/xsvf/xsvf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index dba38dc7..09491c23 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -82,7 +82,7 @@ ! Set the maximum loop count to 25. LCOUNT 25; -! Step to DRPAUSE give 5 clocks and wait for 1.00e+000 SEC. +! Step to DRPAUSE give 5 clocks and wait for 1.00e + 000 SEC. LDELAY DRPAUSE 5 TCK 1.00E-003 SEC; ! Test for the completed status. Match means pass. ! Loop back to LDELAY line if not match and loop count less than 25. @@ -605,7 +605,7 @@ static int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, cha LOG_DEBUG("XSIR2 %d", bitcount); } - ir_buf = malloc((bitcount+7) / 8); + ir_buf = malloc((bitcount + 7) / 8); if (xsvf_read_buffer(bitcount, xsvf_fd, ir_buf) != ERROR_OK) do_abort = 1; |