Skip to content

Commit 8816601

Browse files
mertgpiedar
authored andcommitted
raspberry pi3 fix (#530)
Signed-off-by: mertg <[email protected]> Reviewed-by: Benn Snyder <[email protected]>
1 parent 924298a commit 8816601

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/flags.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ FN_INTERNAL int send_cmd(freenect_device *dev, uint16_t cmd, void *cmdbuf, unsig
168168
do {
169169
actual_len = fnusb_control(&dev->usb_cam, 0xc0, 0, 0, 0, ibuf, 0x200);
170170
FN_FLOOD("send_cmd: actual length = %d\n", actual_len);
171+
usleep(1);
171172
} while ((actual_len == 0) || (actual_len == 0x200));
172173
FN_SPEW("Control reply: %d\n", res);
173174
if (actual_len < (int)sizeof(*rhdr)) {

0 commit comments

Comments
 (0)