diff --git a/ir_RC5_RC6.cpp b/ir_RC5_RC6.cpp index e59e3c0..10e7927 100644 --- a/ir_RC5_RC6.cpp +++ b/ir_RC5_RC6.cpp @@ -10,6 +10,7 @@ // t1 is the time interval for a single bit in microseconds. // Returns -1 for error (measured time interval is not a multiple of t1). // +#if (DECODE_RC5 || DECODE_RC6) int IRrecv::getRClevel (decode_results *results, int *offset, int *used, int t1) { int width; @@ -37,6 +38,7 @@ int IRrecv::getRClevel (decode_results *results, int *offset, int *used, int return val; } +#endif //============================================================================== // RRRR CCCC 55555