ports/comms/libhidapi/patches/patch-README_md

15 lines
349 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
rename hid_init() to hidapi_hid_init() to avoid collision with usbhid
Index: README.md
--- README.md.orig
+++ README.md
@@ -112,7 +112,7 @@ int main(int argc, char* argv[])
int i;
// Initialize the hidapi library
- res = hid_init();
+ res = hidapi_hid_init();
// Open the device using the VID, PID,
// and optionally the Serial number.