Imported Upstream version 2.7.2
This commit is contained in:
parent
0121794af9
commit
a356b56d11
263 changed files with 6039 additions and 8151 deletions
|
|
@ -33,9 +33,6 @@
|
|||
#include "usb-common.h"
|
||||
#include "libusb.h"
|
||||
|
||||
/* USB standard timeout */
|
||||
#define USB_TIMEOUT 5000
|
||||
|
||||
#define USB_DRIVER_NAME "USB communication driver"
|
||||
#define USB_DRIVER_VERSION "0.32"
|
||||
|
||||
|
|
@ -375,7 +372,9 @@ static int libusb_strerror(const int ret, const char *desc)
|
|||
return 0;
|
||||
|
||||
case -EOVERFLOW: /* Value too large for defined data type */
|
||||
#ifdef EPROTO
|
||||
case -EPROTO: /* Protocol error */
|
||||
#endif
|
||||
upsdebugx(2, "%s: %s", desc, usb_strerror());
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue