search for: usb_buflen_max

Displaying 1 result from an estimated 1 matches for "usb_buflen_max".

2020 Apr 03
0
Powercool PCRACK-1200VA patch update
...+  /* driver description structure */  upsdrv_info_t comm_upsdrv_info = {      USB_DRIVER_NAME, @@ -52,6 +53,10 @@ static void libusb_close(usb_dev_handle *udev);  /*! Add USB-related driver variables with addvar().   * This removes some code duplication across the USB drivers.   */ +#define USB_BUFLEN_MAX 256 +static int                langid_fix = -1; +static int                buflen_fix = -1; +  void nut_usb_addvars(void)  {      /* allow -x vendor=X, vendorid=X, product=X, productid=X, serial=X */ @@ -64,8 +69,12 @@ void nut_usb_addvars(void)      addvar(VAR_VALUE, "bus", "Re...