projects
/
kinect-audio-setup.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kinect_upload_fw: release the interface when exiting
[kinect-audio-setup.git]
/
kinect_upload_fw
/
kinect_upload_fw.c
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:
+ libusb_release_interface(dev, KINECT_AUDIO_INTERFACE);
libusb_close(dev);
fail_libusb_open:
libusb_exit(NULL);