| Index: third_party/libusb/src/libusb/interrupt.c
|
| diff --git a/third_party/libusb/src/libusb/interrupt.c b/third_party/libusb/src/libusb/interrupt.c
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f6912d70ff1ae9988557e07358fe575cb376631f
|
| --- /dev/null
|
| +++ b/third_party/libusb/src/libusb/interrupt.c
|
| @@ -0,0 +1,11 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "libusbi.h"
|
| +
|
| +int API_EXPORTED libusb_interrupt_handle_event(struct libusb_context* ctx) {
|
| + unsigned char dummy = 1;
|
| + USBI_GET_CONTEXT(ctx);
|
| + return usbi_write(ctx->ctrl_pipe[1], &dummy, sizeof(dummy));
|
| +}
|
|
|