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:
committed by
Øyvind Harboe
parent
e8543de820
commit
c2c19c5018
@@ -742,7 +742,7 @@ static int dsp5680xx_read(struct target * target, uint32_t address, unsigned siz
|
|||||||
for (unsigned i=0; i<count; i++){
|
for (unsigned i=0; i<count; i++){
|
||||||
if(--counter==0){
|
if(--counter==0){
|
||||||
dsp5680xx_context.flush = 1;
|
dsp5680xx_context.flush = 1;
|
||||||
counter = FLUSH_COUNT_FLASH;
|
counter = FLUSH_COUNT_READ_WRITE;
|
||||||
}
|
}
|
||||||
switch (size){
|
switch (size){
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user