aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGareth McMullin2013-02-18 00:51:45 -0800
committerGareth McMullin2013-02-18 00:51:45 -0800
commitd5be7b7a508cbdddfd31df88f368c09dc1fc4a88 (patch)
tree91ed20b62fa6196a928654ad6bed8cab102e7a62 /src
parent99ac73907f2a354c900a473b582a8573acc1c924 (diff)
parent4d6ae0a1b2d427a6d699faae93985f72b840a31e (diff)
Merge pull request #11 from aibara/master
Another small fix for adiv5, ap_mem_write_bytes double increment analogous to previous fix for ap_mem_read_bytes
Diffstat (limited to 'src')
-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;