Browse Source

dsp5680xx fix constante ref

a counter was incorrectly set
when i added the macros i incorrectly called them.
fixed that.
tags/v0.6.0-rc1
Rodrigo L. Rosa 12 years ago
committed by Øyvind Harboe
parent
commit
c2c19c5018
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/target/dsp5680xx.c

+ 1
- 1
src/target/dsp5680xx.c View File

@@ -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:


Loading…
Cancel
Save