[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

m. allan noah kitno455 at gmail.com
Mon Jul 16 17:16:35 UTC 2007


On 7/16/07, David Solomon <lorddavon at gmail.com> wrote:
> I think you are right.  I am trying some pragma pack statments to see
> if they will help.  I looked at some of the plustek_usb header changes
> and found that they used: "#define PACKED8  __attribute__
> ((packed,aligned(1)))" and "#define PACKED16 __attribute__
> ((packed,aligned(2)))" statements to pack the structures.  I may have
> to use these myself, but I am unsure where to add (possible in the
> sanei_usb_write_bulk?).
>
> Thank you for the help.  I am going to get up-to-my-elbows in code now.  ;-)
>

no- you want to add them to the command structs in avision.h

allan

-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list