format: erase more sectors to be on the safe side

This commit is contained in:
schneider 2011-12-22 15:17:00 +01:00
parent 7f4aea528d
commit fa1d207bfe
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ inline void format_formatDF(void)
char buf[512];
memset(buf, 0, 512);
for(i=0; i<20; i++) dataflash_write(buf, i, 1);
for(i=0; i<100; i++) dataflash_write(buf, i, 1);
memcpy(buf, init1, sizeof(init1));
memcpy(buf+0x24, init2, sizeof(init2));