[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VSDRIVE stand alone host (no pc) thread



On 10/16/2012 12:13 AM, Kevin wrote:
I figured out whats going on, AVRGCC is clipping everything to a int, thats fine for knowing what block to read, but when I multiply it by 512 to read that part of the file it tops out.

Yep, that makes sense. The default item size is an int. You'll have to go crazy with casting as shorts or bytes.