diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-06-02 21:38:08 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-06-02 21:38:08 +0400 |
commit | 433a672b0ed6783397518a70c21b52253bdc65a9 (patch) | |
tree | 497627f3108c31b41100a975c11bd010c3feca99 /noise.cpp | |
parent | 6079de290ed535656a2167f704b487c4c7fb7d41 (diff) |
Only want progmem on avr
Diffstat (limited to 'noise.cpp')
-rw-r--r-- | noise.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,7 +1,10 @@ #include <FastLED.h> #include <avr/pgmspace.h> +#ifdef FASTLED_AVR #define USE_PROGMEM +#endf + #ifdef USE_PROGMEM #define FL_PROGMEM PROGMEM #define P(x) pgm_read_byte_near(p + x) |