X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/de087da2b9c66d896aa18366e2666bdabdb648e2..aff1a95d8e974f6a6f83f5dc886ce86a45057574:/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 1466ccd..746bc68 100644 --- a/kinect_upload_fw/kinect_upload_fw.c +++ b/kinect_upload_fw/kinect_upload_fw.c @@ -104,14 +104,14 @@ int get_reply() { if(fn_le32(buffer.status) != 0) { LOG("Notice reading reply: last uint32_t was nonzero: %d\n", buffer.status); } - + LOG("Reading reply: "); int i; for(i = 0; i < transferred; ++i) { LOG("%02X ", ((unsigned char*)(&buffer))[i]); } LOG("\n"); - + return res; } @@ -212,10 +212,9 @@ int main(int argc, char** argv) { res = get_reply(); seq++; // Now the device reenumerates. - + cleanup: libusb_close(dev); libusb_exit(NULL); return 0; } -