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-09-11 20:17:52 +0400
committerDaniel Garcia <danielgarcia@gmail.com>2014-09-11 20:17:52 +0400
commit7e0503c8c4ae141d10a0f5c1fa0d16f7a2e084f0 (patch)
tree3b7627bdd0203c2b32a346552445b8a138ab5002
parentc188d37f929684207e01841202c6d03c82f2877b (diff)
Change enum to SMART_MATRIX
-rw-r--r--FastLED.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/FastLED.h b/FastLED.h
index aa2512ab..ff8300f8 100644
--- a/FastLED.h
+++ b/FastLED.h
@@ -36,7 +36,7 @@ enum ESPIChipsets {
APA102
};
-enum ESM { SmartMatrix };
+enum ESM { SMART_MATRIX };
enum EClocklessChipsets {
DMX
@@ -165,7 +165,7 @@ public:
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
{
switch(CHIPSET) {
- case SmartMatrix: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
+ case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
}
}
#endif