Merge pull request #114 from sorber/fix-hidapi-bug

fixed hidapi compile bug, missing vid/pid arguments
This commit is contained in:
Daniel Beer 2022-02-13 18:35:03 +13:00 committed by GitHub
commit 4858be123c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ transport_t rf2500hidapi_open(const char *devpath, const char *requested_serial,
free(tr);
hid_exit();
printc_err("rf2500: fallback to libusb backend\n");
return rf2500_open(devpath, requested_serial);
return rf2500_open(devpath, requested_serial, has_vid_pid, vid, pid);
}
tr->handle = handle;