From 39bbc47df996017083b51e4df6394e8a566c0aec Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Sat, 15 Mar 2014 15:20:53 -0700 Subject: Move responsibility for scaling brightness to color correction/temperature into the controller objects. Return scale to being a uint8_t --- clockless_trinket.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clockless_trinket.h') 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 -- cgit v1.2.3