aboutsummaryrefslogtreecommitdiff
path: root/src/adiv5.c
diff options
context:
space:
mode:
authorAllen Ibara2013-01-31 13:39:41 -0800
committerAllen Ibara2013-01-31 13:39:41 -0800
commit4d6ae0a1b2d427a6d699faae93985f72b840a31e (patch)
tree1af36df662e08f374068beee63aed9ff6d62462a /src/adiv5.c
parentef566de38322884fa4d77d8be0790a3e81c5ab9a (diff)
Avoid double increment of dst in adiv5 write bytes function.
Diffstat (limited to 'src/adiv5.c')
-rw-r--r--src/adiv5.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/adiv5.c b/src/adiv5.c
index 2142527..45bf94f 100644
--- a/src/adiv5.c
+++ b/src/adiv5.c
@@ -295,7 +295,6 @@ ap_mem_write_bytes(struct target_s *target, uint32_t dest, const uint8_t *src, i
adiv5_dp_low_access(ap->dp, ADIV5_LOW_AP, ADIV5_LOW_WRITE,
ADIV5_AP_DRW, tmp);
- dest ++;
/* Check for 10 bit address overflow */
if ((dest ^ odest) & 0xfffffc00) {
odest = dest;