summaryrefslogtreecommitdiff
path: root/devel/libsigrok/files/patch-src_hardware_lascar-el-usb_protocol.c
blob: ad70f2a7aaa27db2207ae8f4a1475da7e36a7fab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/hardware/lascar-el-usb/protocol.c.orig	2017-06-12 01:07:28 UTC
+++ src/hardware/lascar-el-usb/protocol.c
@@ -508,8 +508,7 @@ SR_PRIV int lascar_el_usb_handle_events(int fd, int re
 	}
 
 	memset(&tv, 0, sizeof(struct timeval));
-	libusb_handle_events_timeout_completed(drvc->sr_ctx->libusb_ctx, &tv,
-					       NULL);
+	libusb_handle_events_timeout(drvc->sr_ctx->libusb_ctx, &tv);
 
 	return TRUE;
 }