Skip to content

Commit

Permalink
drivers/richcomm_usb.c: upsdrv_makevartable(): refer to nut_usb_addva…
Browse files Browse the repository at this point in the history
  • Loading branch information
jimklimov committed Jan 4, 2023
1 parent cf19ab7 commit dbc5ec9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/richcomm_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
*/

#include "main.h"
#include "nut_libusb.h"
#include "usb-common.h"
#include "nut_stdint.h"

/* driver version */
#define DRIVER_NAME "Richcomm dry-contact to USB driver"
#define DRIVER_VERSION "0.10"
#define DRIVER_VERSION "0.11"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down Expand Up @@ -734,4 +735,6 @@ void upsdrv_help(void)

void upsdrv_makevartable(void)
{
/* allow -x vendor=X, vendorid=X, product=X, productid=X, serial=X */
nut_usb_addvars();
}

0 comments on commit dbc5ec9

Please sign in to comment.