projects
/
kinect-audio-setup.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kinect_upload_fw: remove some trailing spaces
[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
1466ccd
..
746bc68
100644
(file)
--- 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);
}
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");
LOG("Reading reply: ");
int i;
for(i = 0; i < transferred; ++i) {
LOG("%02X ", ((unsigned char*)(&buffer))[i]);
}
LOG("\n");
-
+
return res;
}
return res;
}
@@
-212,10
+212,9
@@
int main(int argc, char** argv) {
res = get_reply();
seq++;
// Now the device reenumerates.
res = get_reply();
seq++;
// Now the device reenumerates.
-
+
cleanup:
libusb_close(dev);
libusb_exit(NULL);
return 0;
}
cleanup:
libusb_close(dev);
libusb_exit(NULL);
return 0;
}
-