From eab0a0ac0a308378f016987b1c6e5d27eb2ea6df Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Wed, 22 Feb 2017 08:46:05 +0100 Subject: [PATCH] Revert "CRCInput::set_rc_hw: Fix device check for cs hd2" This reverts commit 5cac45ccb837955bd03b9b2cc41e415c983139d7. --- src/driver/rcinput.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index f14f12320..d35c07701 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1764,11 +1764,7 @@ void CRCInput::set_rc_hw(ir_protocol_t ir_protocol, unsigned int ir_address) } int fd = -1; for (std::vector::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; }