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>2015-02-09 11:07:19 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2015-02-09 11:07:19 +0300
commit033f47f3c95f4143d7f1d97144b0100dafa3d1df (patch)
tree3d0fa216d45342bfc7545c8afc7773d0e65b7d50 /fastspi.h
parentf149084f46492e0d012be82b96bf7b2d50e24a5a (diff)
SparkCore needs FastLED to be in a namespace.
Diffstat (limited to 'fastspi.h')
-rw-r--r--fastspi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fastspi.h b/fastspi.h
index b1057526..910261a8 100644
--- a/fastspi.h
+++ b/fastspi.h
@@ -6,6 +6,8 @@
#include "fastspi_bitbang.h"
+FASTLED_NAMESPACE_BEGIN
+
#if (CLK_DBL == 1)
#define DATA_RATE_MHZ(X) (((F_CPU / 1000000L) / X)/2)
#define DATA_RATE_KHZ(X) (((F_CPU / 1000L) / X)/2)
@@ -92,4 +94,6 @@ class SPIOutput<SPI_UART1_DATA, SPI_UART1_CLOCK, SPI_SPEED> : public AVRUSART1SP
#warning "Forcing software SPI - no hardware SPI for you!"
#endif
+FASTLED_NAMESPACE_END
+
#endif