fix hidraw not being read

This commit is contained in:
Denis 2023-12-10 20:38:07 +01:00
parent ab62ba8d71
commit b497e833d2
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03

View file

@ -380,6 +380,8 @@ void* dev_in_thread_func(void *ptr) {
} else if (devices[i].type == DEV_IN_TYPE_IIO) {
// TODO: implement IIO
continue;
} else if (devices[i].type == DEV_IN_TYPE_HIDRAW) {
fd = dev_hidraw_get_fd(devices[i].dev.hidraw.hidrawdev);
} else {
continue;
}