am7xxx: change am7xx_device definition, better buffer handling
authorAntonio Ospite <ospite@studenti.unina.it>
Tue, 21 Feb 2012 12:19:28 +0000 (13:19 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 23 Feb 2012 15:43:11 +0000 (16:43 +0100)
commitd9b0524a108bb57ecc5e05fde9077c5cc5c3c077
tree13c7619f20c1b49b4f4cb826d7e9d14e1f4c531a
parent3c0bc8695b5eb170b423a1d7598bcad5014ed87a
am7xxx: change am7xx_device definition, better buffer handling

Add a new data type for am7xxx devices and make it hold a buffer, this
way allocating a new buffer for each communication can be avoided; also
move this definition to am7xxx.c to avoid exposing details about libusb
in am7xxx.h.
src/am7xxx.c
src/am7xxx.h
src/libam7xxx.pc.in
src/picoproj.c