Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: disk write code - another bug - whoops
From: Greg Haerr (greg_at_censoft.com)
Date: 2002-11-09


Whoops - in the previous email bug fix, change the following line:

: /* Write to the second FAT */
: if(ata_write_sectors(fce->secnum+fat_bpb.fatsize, 1,
sectorbuf))

to:

if(ata_write_sectors(fce->secnum+fat_bpb.startsector+fat_bpb.fatsize, 1,
sectorbuf))

I forgot to add the startsector offset...

Regards,

Greg



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa