We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 924298a commit 8816601Copy full SHA for 8816601
1 file changed
src/flags.c
@@ -168,6 +168,7 @@ FN_INTERNAL int send_cmd(freenect_device *dev, uint16_t cmd, void *cmdbuf, unsig
168
do {
169
actual_len = fnusb_control(&dev->usb_cam, 0xc0, 0, 0, 0, ibuf, 0x200);
170
FN_FLOOD("send_cmd: actual length = %d\n", actual_len);
171
+ usleep(1);
172
} while ((actual_len == 0) || (actual_len == 0x200));
173
FN_SPEW("Control reply: %d\n", res);
174
if (actual_len < (int)sizeof(*rhdr)) {
0 commit comments