diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-22 10:44:11 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-22 10:44:11 +0300 |
commit | 78f6b7a4f48e24cd32a2402ca0c6cab8207dd7c1 (patch) | |
tree | 3bf7002fdce541eb16b84ddb3cb1d9e1d5af6255 | |
parent | 86922a641c7878871ec402728675047694a72147 (diff) |
We only need to see the FastLED version warning once, thank you very much
-rw-r--r-- | FastLED.cpp | 1 | ||||
-rw-r--r-- | FastLED.h | 2 | ||||
-rw-r--r-- | colorutils.cpp | 1 | ||||
-rw-r--r-- | hsv2rgb.cpp | 1 | ||||
-rw-r--r-- | lib8tion.cpp | 1 | ||||
-rw-r--r-- | noise.cpp | 1 | ||||
-rw-r--r-- | power_mgt.cpp | 1 | ||||
-rw-r--r-- | wiring.cpp | 1 |
8 files changed, 9 insertions, 0 deletions
diff --git a/FastLED.cpp b/FastLED.cpp index 077efbe3..821f1e2f 100644 --- a/FastLED.cpp +++ b/FastLED.cpp @@ -1,3 +1,4 @@ +#define FASTLED_INTERNAL #include "FastLED.h" #if defined(__SAM3X8E__) @@ -8,7 +8,9 @@ #define str(s) #s #define FASTLED_VERSION 3001000 +#ifndef FASTLED_INTERNAL #warning FastLED version 3001000 (Not really a warning, just telling you here.) +#endif #ifndef __PROG_TYPES_COMPAT__ #define __PROG_TYPES_COMPAT__ diff --git a/colorutils.cpp b/colorutils.cpp index d16bf2e4..4a4d53a4 100644 --- a/colorutils.cpp +++ b/colorutils.cpp @@ -1,3 +1,4 @@ +#define FASTLED_INTERNAL #define __PROG_TYPES_COMPAT__ #include <stdint.h> diff --git a/hsv2rgb.cpp b/hsv2rgb.cpp index 203d1db6..8a6d0575 100644 --- a/hsv2rgb.cpp +++ b/hsv2rgb.cpp @@ -1,3 +1,4 @@ +#define FASTLED_INTERNAL #include <stdint.h> #include "FastLED.h" diff --git a/lib8tion.cpp b/lib8tion.cpp index d7d6b13e..557fa005 100644 --- a/lib8tion.cpp +++ b/lib8tion.cpp @@ -1,3 +1,4 @@ +#define FASTLED_INTERNAL #include <stdint.h> #define RAND16_SEED 1337 @@ -1,3 +1,4 @@ +#define FASTLED_INTERNAL #include <FastLED.h> #ifdef FASTLED_AVR diff --git a/power_mgt.cpp b/power_mgt.cpp index 46befd6e..c9367147 100644 --- a/power_mgt.cpp +++ b/power_mgt.cpp @@ -1,3 +1,4 @@ +#define FASTLED_INTERNAL #include "FastLED.h" #include "power_mgt.h" @@ -1,3 +1,4 @@ +#define FASTLED_INTERNAL #include "FastLED.h" |