Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Garcia <danielgarcia@gmail.com>2014-06-02 21:38:08 +0400
committerDaniel Garcia <danielgarcia@gmail.com>2014-06-02 21:38:08 +0400
commit433a672b0ed6783397518a70c21b52253bdc65a9 (patch)
tree497627f3108c31b41100a975c11bd010c3feca99 /noise.cpp
parent6079de290ed535656a2167f704b487c4c7fb7d41 (diff)
Only want progmem on avr
Diffstat (limited to 'noise.cpp')
-rw-r--r--noise.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noise.cpp b/noise.cpp
index fd13cd79..8500f21c 100644
--- a/noise.cpp
+++ b/noise.cpp
@@ -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)