aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/dsp5680xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c
index fc1f9c6..175f777 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: