kinect_upload_fw: make libusb initialization more robust
authorAntonio Ospite <ao2@ao2.it>
Tue, 5 Jan 2016 22:41:07 +0000 (23:41 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 7 Jan 2016 16:28:56 +0000 (17:28 +0100)
commitc264133a0b6589d30b5f3e4b65a09d3c5b9bafaf
tree51cc22cbd4bc0f94ea3725670ede77e20726f304
parentbd345d96fa9c37efafe5173092bfc588a14c6669
kinect_upload_fw: make libusb initialization more robust

Check the return values of all the libusb functions.

Also return more sensible values when ret is not immediately useful.
kinect_upload_fw/kinect_upload_fw.c