Revert "CRCInput::set_rc_hw: Fix device check for cs hd2"

This reverts commit 5cac45ccb8.
This commit is contained in:
Stefan Seyfried
2017-02-22 08:46:05 +01:00
committed by M. Liebmann
parent ee9138f065
commit f0ab22d8b0

View File

@@ -1764,11 +1764,7 @@ void CRCInput::set_rc_hw(ir_protocol_t ir_protocol, unsigned int ir_address)
}
int fd = -1;
for (std::vector<in_dev>::iterator it = indev.begin(); it != indev.end(); ++it) {
if (((*it).path == "/dev/input/nevis_ir")
#ifdef BOXMODEL_CS_HD2
|| ((*it).path == "/dev/input/input0")
#endif
){
if ((*it).path == "/dev/input/nevis_ir") {
fd = (*it).fd;
break;
}