Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp
- index bf01d44..e42c6c7 100644
- --- a/src/driver/rcinput.cpp
- +++ b/src/driver/rcinput.cpp
- @@ -1797,12 +1797,14 @@ void CRCInput::set_rc_hw(ir_protocol_t ir_protocol, unsigned int ir_address)
- return;
- }
- int fd = -1;
- +#if HAVE_COOL_HARDWARE
- for (std::vector<in_dev>::iterator it = indev.begin(); it != indev.end(); ++it) {
- if ((*it).path == "/dev/input/nevis_ir") {
- fd = (*it).fd;
- break;
- }
- }
- +#endif
- if (fd == -1) {
- printf("[rcinput:%s] no nevis_ir input device found??\n", __func__);
- return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement