mirror of
https://github.com/RPCS3/hidapi.git
synced 2025-02-18 17:57:53 +00:00
Merge branch 'master' of github.com:signal11/hidapi
This commit is contained in:
commit
208de82ec1
13
linux/.gitignore
vendored
Normal file
13
linux/.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Debug
|
||||
Release
|
||||
*.exp
|
||||
*.ilk
|
||||
*.lib
|
||||
*.suo
|
||||
*.vcproj.*
|
||||
*.ncb
|
||||
*.suo
|
||||
*.dll
|
||||
*.pdb
|
||||
*.o
|
||||
hidtest
|
@ -494,9 +494,9 @@ int HID_API_EXPORT hid_get_feature_report(hid_device *dev, unsigned char *data,
|
||||
|
||||
void HID_API_EXPORT hid_close(hid_device *dev)
|
||||
{
|
||||
|
||||
if (!dev)
|
||||
return;
|
||||
close(dev->device_handle);
|
||||
|
||||
free(dev);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user