Skip to content

Commit

Permalink
fixed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
saki4510t committed Nov 9, 2016
1 parent 165d233 commit 1f0b3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libuvccamera/src/main/jni/libuvc/src/stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ static void _uvc_iso_callback(struct libusb_transfer *transfer) {
strmh->got_bytes += odd_bytes;
}
#ifdef USE_EOF
if ((pktbuf[1] & STREAM_HEADER_BFH_EOF) && strmh->got_bytes != 0) {
if ((pktbuf[1] & UVC_STREAM_EOF) && strmh->got_bytes != 0) {
/* The EOF bit is set, so publish the complete frame */
_uvc_swap_buffers(strmh);
}
Expand Down

0 comments on commit 1f0b3d1

Please sign in to comment.