mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
not generic code
This commit is contained in:
@@ -195,14 +195,14 @@ void CRCInput::open(bool recheck)
|
|||||||
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(mutex);
|
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(mutex);
|
||||||
|
|
||||||
struct in_dev id;
|
struct in_dev id;
|
||||||
|
|
||||||
|
#if !HAVE_GENERIC_HARDWARE
|
||||||
DIR *dir;
|
DIR *dir;
|
||||||
dir = opendir("/dev/input");
|
dir = opendir("/dev/input");
|
||||||
if (! dir) {
|
if (! dir) {
|
||||||
printf("[rcinput:%s] opendir failed: %m\n", __func__);
|
printf("[rcinput:%s] opendir failed: %m\n", __func__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !HAVE_GENERIC_HARDWARE
|
|
||||||
unsigned long evbit;
|
unsigned long evbit;
|
||||||
struct dirent *dentry;
|
struct dirent *dentry;
|
||||||
while ((dentry = readdir(dir)) != NULL)
|
while ((dentry = readdir(dir)) != NULL)
|
||||||
|
Reference in New Issue
Block a user