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-11-22 10:44:11 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2014-11-22 10:44:11 +0300
commit78f6b7a4f48e24cd32a2402ca0c6cab8207dd7c1 (patch)
tree3bf7002fdce541eb16b84ddb3cb1d9e1d5af6255
parent86922a641c7878871ec402728675047694a72147 (diff)
We only need to see the FastLED version warning once, thank you very much
-rw-r--r--FastLED.cpp1
-rw-r--r--FastLED.h2
-rw-r--r--colorutils.cpp1
-rw-r--r--hsv2rgb.cpp1
-rw-r--r--lib8tion.cpp1
-rw-r--r--noise.cpp1
-rw-r--r--power_mgt.cpp1
-rw-r--r--wiring.cpp1
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__)
diff --git a/FastLED.h b/FastLED.h
index 951d105f..2bce7ded 100644
--- a/FastLED.h
+++ b/FastLED.h
@@ -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
diff --git a/noise.cpp b/noise.cpp
index 4342a20c..0ad00c74 100644
--- a/noise.cpp
+++ b/noise.cpp
@@ -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"
diff --git a/wiring.cpp b/wiring.cpp
index 7d62e4bf..a3ee6d15 100644
--- a/wiring.cpp
+++ b/wiring.cpp
@@ -1,3 +1,4 @@
+#define FASTLED_INTERNAL
#include "FastLED.h"