D. Hugh Redelmeier <[EMAIL PROTECTED]> wrote:
> Without looking at the code, I would guess that you are not masking
> the value properly when assigning the low-order byte. In particular, each
> value is being reduced modulo 256 -- for each message, the smaller
> value is the remainder when the larger value is devided by 256.
u8 buffer[2] = { addr >> 8, addr & 0xff };
'addr' is a u16.
--
Tyler Trafford
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel