diff options
author | Rodrigo L. Rosa <rodrigorosa.LG@gmail.com> | 2011-07-19 20:04:46 -0700 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-08-09 20:07:49 +0200 |
commit | c2c19c50186f6686c072f65ade8984771987305f (patch) | |
tree | a11d70c8b41cbd1b186be60142023c9a8d9467bd /src/target/dsp5680xx.c | |
parent | e8543de820ac28db80eb9c22523cd5ee043ee0e9 (diff) |
dsp5680xx fix constante ref
a counter was incorrectly set
when i added the macros i incorrectly called them.
fixed that.
Diffstat (limited to 'src/target/dsp5680xx.c')
-rw-r--r-- | src/target/dsp5680xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c index fc1f9c64..175f7779 100644 --- a/src/target/dsp5680xx.c +++ b/src/target/dsp5680xx.c @@ -742,7 +742,7 @@ static int dsp5680xx_read(struct target * target, uint32_t address, unsigned siz for (unsigned i=0; i<count; i++){ if(--counter==0){ dsp5680xx_context.flush = 1; - counter = FLUSH_COUNT_FLASH; + counter = FLUSH_COUNT_READ_WRITE; } switch (size){ case 1: |