diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-08 05:48:01 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-08 05:48:01 +0300 |
commit | 1ca57f1746d11b239bfa3e4588170ee1d00c7b04 (patch) | |
tree | 3b2ab5d2a3b8ca44e7398d0dbe7481d856eaa999 /led_sysdefs.h | |
parent | c996c8a56502651bbf509cf8f787e1a8843d0e12 (diff) |
Possible fix for issues #67 (arduino 1.5.7 support) and #90 (gcc 4.8 issues?)
Diffstat (limited to 'led_sysdefs.h')
-rw-r--r-- | led_sysdefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/led_sysdefs.h b/led_sysdefs.h index 57dc605d..710ea552 100644 --- a/led_sysdefs.h +++ b/led_sysdefs.h @@ -34,6 +34,7 @@ typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile u #endif +#if 0 #if defined(ARDUINO) && defined(FASTLED_AVR) && ARDUINO >= 157 #error Arduion versions 1.5.7 and later not yet supported by FastLED for AVR #endif @@ -41,6 +42,7 @@ typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile u #if defined(ARDUINO) && defined (FASTLED_AVR) && (__GNUC__ == 4) && (__GNUC_MINOR__ > 7) #error gcc versions 4.8 and above are not yet supported by FastLED for AVR #endif +#endif // Arduino.h needed for convinience functions digitalPinToPort/BitMask/portOutputRegister and the pinMode methods. #include<Arduino.h> |