From 6aba169cbaa2a49fd535865e60977c5746a20500 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 abe232fc6c5968859cf053013a6a80662b4cc006. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/f0ab22d8b0144260d34160347392472550044e9f Author: Stefan Seyfried Date: 2017-02-22 (Wed, 22 Feb 2017) ------------------ This commit was generated by Migit --- 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 ddba969d2..76090ef0e 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; }