]> sigrok.org Git - libsigrok.git/commit
genericdmm: Factor out USB functions.
authorUwe Hermann <redacted>
Fri, 2 Nov 2012 20:04:21 +0000 (21:04 +0100)
committerUwe Hermann <redacted>
Fri, 2 Nov 2012 23:02:56 +0000 (00:02 +0100)
commit0c632d36be4b7b34addadf0649fea95173fe0f9a
tree403fa296a21d85b2c52e9b45236fc8930ad5de23
parent538ac9a91e5efb65e3c28d5a9af16c6fcfd63872
genericdmm: Factor out USB functions.

Move sr_usb_connect() and sr_usb_open() to hardware/common/usb.c in a
slightly more generic form and add more error checks and logging.

Let genericdmm use the new/moved functions.
hardware/common/Makefile.am
hardware/common/usb.c [new file with mode: 0644]
hardware/genericdmm/api.c
libsigrok-internal.h