| Index: third_party/libusb/src/libusb/core.c
|
| diff --git a/third_party/libusb/src/libusb/core.c b/third_party/libusb/src/libusb/core.c
|
| index a91c77b968635ca8233b17c89b3b2607c52c5001..5512bd8c9b5073fc151c10d0da9b3b3b8534d065 100644
|
| --- a/third_party/libusb/src/libusb/core.c
|
| +++ b/third_party/libusb/src/libusb/core.c
|
| @@ -1664,6 +1664,15 @@ void API_EXPORTED libusb_exit(struct libusb_context *ctx)
|
| free(ctx);
|
| }
|
|
|
| +/*
|
| + * Interrupt libusb_handle_events_timeout_completed.
|
| + */
|
| +void API_EXPORTED libusb_send_event(struct libusb_context *ctx) {
|
| + unsigned char dummy = 1;
|
| + USBI_GET_CONTEXT(ctx);
|
| + usbi_write(ctx->ctrl_pipe[1], &dummy, sizeof(dummy));
|
| +}
|
| +
|
| /** \ingroup misc
|
| * Check if the running library has a given capability.
|
| *
|
|
|