summaryrefslogtreecommitdiff
path: root/devel/libsigrok/files/patch-hardware-lascar-el-usb-protocol.c
blob: 95dbcc53368f109aa28c25fd8489fbea9532fe50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./hardware/lascar-el-usb/protocol.c.orig	2013-06-22 17:57:14.000000000 +0200
+++ ./hardware/lascar-el-usb/protocol.c	2013-06-22 17:57:56.000000000 +0200
@@ -512,8 +512,7 @@
 	}
 
 	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;
 }