projects
/
kinect-audio-setup.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e32623
)
kinect_upload_fw: release the interface when exiting
author
Antonio Ospite <ao2@ao2.it>
Tue, 5 Jan 2016 20:54:05 +0000
(21:54 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Tue, 5 Jan 2016 20:54:05 +0000
(21:54 +0100)
kinect_upload_fw/kinect_upload_fw.c
patch
|
blob
|
history
diff --git
a/kinect_upload_fw/kinect_upload_fw.c
b/kinect_upload_fw/kinect_upload_fw.c
index
54f463a
..
5faf8e1
100644
(file)
--- a/
kinect_upload_fw/kinect_upload_fw.c
+++ b/
kinect_upload_fw/kinect_upload_fw.c
@@
-259,6
+259,7
@@
int main(int argc, char** argv) {
// Now the device reenumerates.
cleanup:
// Now the device reenumerates.
cleanup:
+ libusb_release_interface(dev, KINECT_AUDIO_INTERFACE);
libusb_close(dev);
fail_libusb_open:
libusb_exit(NULL);
libusb_close(dev);
fail_libusb_open:
libusb_exit(NULL);