Skip to content

Commit

Permalink
raspberry pi3 fix (#530)
Browse files Browse the repository at this point in the history
Signed-off-by: mertg <mertguvenaydin@gmail.com>
Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
  • Loading branch information
mertg authored and piedar committed Oct 25, 2017
1 parent 924298a commit 8816601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flags.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ FN_INTERNAL int send_cmd(freenect_device *dev, uint16_t cmd, void *cmdbuf, unsig
do {
actual_len = fnusb_control(&dev->usb_cam, 0xc0, 0, 0, 0, ibuf, 0x200);
FN_FLOOD("send_cmd: actual length = %d\n", actual_len);
usleep(1);
} while ((actual_len == 0) || (actual_len == 0x200));
FN_SPEW("Control reply: %d\n", res);
if (actual_len < (int)sizeof(*rhdr)) {
Expand Down

0 comments on commit 8816601

Please sign in to comment.