diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-18 21:55:37 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-18 21:55:37 +0100 |
commit | cf13ba96300dcc98089c2272ed40aefdb54ca13f (patch) | |
tree | 0e658c7c427fbbbfd4c67c26fdc3fbb0f6046d99 | |
parent | 91cff6f6d1db8c9ae4f241a5a58838ce1ad456e3 (diff) | |
download | onkyo-ri-cf13ba96300dcc98089c2272ed40aefdb54ca13f.tar.gz onkyo-ri-cf13ba96300dcc98089c2272ed40aefdb54ca13f.tar.xz onkyo-ri-cf13ba96300dcc98089c2272ed40aefdb54ca13f.zip |
fix macro
-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 |