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-10-12 21:49:40 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2015-10-12 21:49:40 +0300
commitcac894c19e45b077ad64b9166f2235ed602c4352 (patch)
tree7b76b4573eac2edb64cb399b5833d671b0e218c6 /controller.h
parent1fef771c81b47932370567ca825fe89c8a351bd8 (diff)
Fix power management for parallel controllers
Diffstat (limited to 'controller.h')
-rw-r--r--controller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.h b/controller.h
index b9929a4f..e0e86422 100644
--- a/controller.h
+++ b/controller.h
@@ -124,7 +124,7 @@ public:
}
/// How many leds does this controller manage?
- int size() { return m_nLeds; }
+ virtual int size() { return m_nLeds; }
/// Pointer to the CRGB array for this controller
CRGB* leds() { return m_Data; }