mirror of
https://github.com/aaru-dps/aaruremote.git
synced 2025-12-16 19:24:37 +00:00
Add packet to close device.
This commit is contained in:
@@ -39,6 +39,8 @@ int LinuxOpenDevice(const char* device_path)
|
||||
return fd;
|
||||
}
|
||||
|
||||
void LinuxCloseDevice(int device_fd) { close(device_fd); }
|
||||
|
||||
int32_t LinuxGetDeviceType(const char* device_path)
|
||||
{
|
||||
#ifdef HAS_UDEV
|
||||
|
||||
Reference in New Issue
Block a user