diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-10-21 06:58:03 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-10-21 06:58:03 +0400 |
commit | 4c281d1f03a7874ae7783f4d7564a04d556e0e31 (patch) | |
tree | bf6dea155158990a3e87168c8e882ddf1835811b | |
parent | 390e160aae09f38cb6ca9f91e9f9e4b95268cfc5 (diff) |
Forcibly break compilation under arduino 1.5.7 and later until I can fix GCC compilation.
-rw-r--r-- | led_sysdefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/led_sysdefs.h b/led_sysdefs.h index f9f4578b..c49410d0 100644 --- a/led_sysdefs.h +++ b/led_sysdefs.h @@ -34,6 +34,9 @@ typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile u #endif +#if defined(ARDUINO) && defined(FASTLED_AVR) && ARDUINO >= 157 +#error Arduion versions 1.5.7 and later not yet supported by FastLED for AVR +#endif // Arduino.h needed for convinience functions digitalPinToPort/BitMask/portOutputRegister and the pinMode methods. #include<Arduino.h> |