Migrate from legacy libusb-0.1 to libusb-1.0
This commit is contained in:
1 parent
9bccbfa208
commit
92e60dd1a4
6 files changed
+702
-9
No files matched your search
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
From: Alexander Ponyatykh <lazyranma@gmail.com>
|
||||
Date: Fri, 15 Nov 2019 02:19:01 +0300
|
||||
Subject: fix spelling error
|
||||
|
||||
---
|
||||
libg15.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libg15.c b/libg15.c
|
||||
index 369ed40..ba1c94b 100644
|
||||
--- a/libg15.c
|
||||
+++ b/libg15.c
|
||||
@@ -152,7 +152,7 @@ static usb_dev_handle * findAndOpenDevice(libg15_devices_t handled_device, int d
|
||||
if (!devh)
|
||||
{
|
||||
g15_log(stderr,G15_LOG_INFO, "Error, could not open the keyboard\n");
|
||||
- g15_log(stderr,G15_LOG_INFO, "Perhaps you dont have enough permissions to access it\n");
|
||||
+ g15_log(stderr,G15_LOG_INFO, "Perhaps you don't have enough permissions to access it\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -434,7 +434,7 @@ int handle_usb_errors(const char *prefix, int ret) {
|
||||
case -ETIMEDOUT:
|
||||
return G15_ERROR_READING_USB_DEVICE; /* backward-compatibility */
|
||||
break;
|
||||
- case -ENOSPC: /* the we dont have enough bandwidth, apparently.. something has to give here.. */
|
||||
+ case -ENOSPC: /* the we don't have enough bandwidth, apparently.. something has to give here.. */
|
||||
g15_log(stderr,G15_LOG_INFO,"usb error: ENOSPC.. reducing speed\n");
|
||||
enospc_slowdown = 1;
|
||||
break;
|
||||
Reference in new issue
Block a user