dsp5680xx fix constante ref

a counter was incorrectly set
when i added the macros i incorrectly called them.
fixed that.
This commit is contained in:
Rodrigo L. Rosa 2011-07-19 20:04:46 -07:00 committed by Øyvind Harboe
parent e8543de820
commit c2c19c5018
1 changed files with 1 additions and 1 deletions

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: