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-03-16 02:20:53 +0400
committerDaniel Garcia <danielgarcia@gmail.com>2014-03-16 02:20:53 +0400
commit39bbc47df996017083b51e4df6394e8a566c0aec (patch)
tree13bc33fe62131609a1d826f753c584f17742439a /clockless_trinket.h
parentdc3ac23b303890dea0af765736f4c6dc7810e240 (diff)
Move responsibility for scaling brightness to color correction/temperature into the controller objects. Return scale to being a uint8_t
Diffstat (limited to 'clockless_trinket.h')
-rw-r--r--clockless_trinket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clockless_trinket.h b/clockless_trinket.h
index 8024fc96..5dcecafa 100644
--- a/clockless_trinket.h
+++ b/clockless_trinket.h
@@ -73,16 +73,16 @@ public:
}
// set all the leds on the controller to a given color
- virtual void showColor(const struct CRGB & data, int nLeds, CRGB scale = CRGB::White) {
+ virtual void showColor(const struct CRGB & data, int nLeds, CRGB scale) {
showRGBInternal_AdjTime(0, false, nLeds, scale, (const byte*)&data);
}
- virtual void show(const struct CRGB *rgbdata, int nLeds, CRGB scale = CRGB::White) {
+ virtual void show(const struct CRGB *rgbdata, int nLeds, CRGB scale) {
showRGBInternal_AdjTime(0, true, nLeds, scale, (const byte*)rgbdata);
}
#ifdef SUPPORT_ARGB
- virtual void show(const struct CARGB *rgbdata, int nLeds, CRGB scale = CRGB::White) {
+ virtual void show(const struct CARGB *rgbdata, int nLeds, CRGB scale) {
showRGBInternal_AdjTime(1, true, nLeds, scale, (const byte*)rgbdata);
}
#endif