mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Revert "CRCInput::set_rc_hw: Fix device check for cs hd2"
This reverts commitabe232fc6c
. Origin commit data ------------------ Branch: ni/coolstream Commit:f0ab22d8b0
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de> Date: 2017-02-22 (Wed, 22 Feb 2017) ------------------ This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
30e30c91f6
commit
6aba169cba
@@ -1764,11 +1764,7 @@ void CRCInput::set_rc_hw(ir_protocol_t ir_protocol, unsigned int ir_address)
|
|||||||
}
|
}
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
for (std::vector<in_dev>::iterator it = indev.begin(); it != indev.end(); ++it) {
|
for (std::vector<in_dev>::iterator it = indev.begin(); it != indev.end(); ++it) {
|
||||||
if (((*it).path == "/dev/input/nevis_ir")
|
if ((*it).path == "/dev/input/nevis_ir") {
|
||||||
#ifdef BOXMODEL_CS_HD2
|
|
||||||
|| ((*it).path == "/dev/input/input0")
|
|
||||||
#endif
|
|
||||||
){
|
|
||||||
fd = (*it).fd;
|
fd = (*it).fd;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user