FreeCalypso > hg > freecalypso-tools
diff loadtools/flmisc.c @ 669:ba9523ca6ed8
fc-loadtool code: preparations for e-program-* addition
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 08 Mar 2020 01:32:08 +0000 |
parents | cd48bc4c5460 |
children | 44cdfc4fed4c |
line wrap: on
line diff
--- a/loadtools/flmisc.c Sun Mar 08 00:29:11 2020 +0000 +++ b/loadtools/flmisc.c Sun Mar 08 01:32:08 2020 +0000 @@ -235,7 +235,7 @@ return(0); } /* now enforce sector alignment for both offset and length */ - if (get_flash_sector_table(bank) < 0) + if (get_flash_sector_table(bi) < 0) return(-1); if (get_flash_sector_range(bi, offset, len, &startsec, &endsec) < 0) return(-1);