apmorton / pyhidapi

hidapi bindings in ctypes
MIT License
111 stars 42 forks source link

a typing error #31

Closed jfongattw closed 4 years ago

jfongattw commented 5 years ago

line 96: hidapi.hid_get_serial_number_string = ctypes.c_int should be: hidapi.hid_get_serial_number_string.restype = ctypes.c_int

apmorton commented 5 years ago

Indeed - I am away from a computer, but if you can submit a PR to fix it I can merge from my phone.