fix hidraw not being read
This commit is contained in:
parent
ab62ba8d71
commit
b497e833d2
1 changed files with 2 additions and 0 deletions
2
dev_in.c
2
dev_in.c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue