diff options
-rw-r--r-- | onkyo_ri.pde | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/onkyo_ri.pde b/onkyo_ri.pde index 2a6aa7b..17645ec 100644 --- a/onkyo_ri.pde +++ b/onkyo_ri.pde @@ -18,7 +18,7 @@ MD = 71808 #define IRpin_PIN PINB #define IRpin 0 -#define ARRAY_LEN(array) (sizeof(array)/sizeof(array[0])) +#define ARRAY_LEN(array) (sizeof(array)/sizeof((array)[0])) #define MAXPULSE 500 #define RESOLUTION 20 |