wrapped getRCLevel function with #if DECODE_RC5/6

This commit is contained in:
Rafi Khan
2015-08-10 14:33:35 -06:00
parent b765bf1052
commit 32beed8100

View File

@@ -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