From 32beed81004136e0ea95f09755f18f0061aac7bd Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Mon, 10 Aug 2015 14:33:35 -0600 Subject: [PATCH] wrapped getRCLevel function with #if DECODE_RC5/6 --- ir_RC5_RC6.cpp | 2 ++ 1 file changed, 2 insertions(+) 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