diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:41:13 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:41:13 +0000 |
commit | aea6815462d3302f7f8b6576f59320d5f5985642 (patch) | |
tree | 24db5c404a4568beabe33487235dc2befd1e0421 /src/jtag/bitbang.c | |
parent | 0e2c2fe1d1eec5482078147d551215a58604cc3a (diff) |
- 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@2370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/bitbang.c')
-rw-r--r-- | src/jtag/bitbang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/bitbang.c b/src/jtag/bitbang.c index e3cd63be..dacd65ec 100644 --- a/src/jtag/bitbang.c +++ b/src/jtag/bitbang.c @@ -192,7 +192,7 @@ static void bitbang_scan(bool ir_scan, enum scan_type type, uint8_t *buffer, int int tms=(bit_cnt==scan_size-1) ? 1 : 0; int tdi; int bytec=bit_cnt/8; - int bcval=1<<(bit_cnt % 8); + int bcval=1 << (bit_cnt % 8); /* if we're just reading the scan, but don't care about the output * default to outputting 'low', this also makes valgrind traces more readable, |