summaryrefslogtreecommitdiff
path: root/src/jtag/presto.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:44:17 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:44:17 +0000
commit8959de9f679cfd0436d731fd91b88a68b9a75fa6 (patch)
tree8d9bc182b4adc0e718ffafdbd12469d8c8bb14d9 /src/jtag/presto.c
parent84df52f9ea78e2d71bde648a16b69d80404c6421 (diff)
downloadopenocd_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/jtag/presto.c')
-rw-r--r--src/jtag/presto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/presto.c b/src/jtag/presto.c
index b1ca3bdd..fceae34a 100644
--- a/src/jtag/presto.c
+++ b/src/jtag/presto.c
@@ -712,7 +712,7 @@ static int presto_jtag_khz(int khz, int *jtag_speed)
}
if (khz >= 3000) *jtag_speed = 0;
- else *jtag_speed = (1000+khz-1)/khz;
+ else *jtag_speed = (1000 + khz-1)/khz;
return 0;
}