mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
not generic code
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9968eee58f
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-03-29 (Thu, 29 Mar 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -198,14 +198,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