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

Re: disk write code - another bug - whoops

From: Greg Haerr <greg_at_censoft.com>
Date: Fri, 8 Nov 2002 19:29:34 -0700

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
Received on 2002-11-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy