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-09-20 09:33:04 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2015-09-20 09:33:04 +0300
commitba6a7594db2c779d558820184027bf6b7db14ed3 (patch)
tree534204020ab4f64af7d3b90fb808b0d9d092d7a3
parentbaf0cbb28c5996b9c68e21ca0543859c3c57d883 (diff)
scoping opps
-rw-r--r--pixeltypes.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pixeltypes.h b/pixeltypes.h
index 206eeb1c..2ad2c78b 100644
--- a/pixeltypes.h
+++ b/pixeltypes.h
@@ -355,18 +355,18 @@ struct CRGB {
// may dim all the way to 100% black.
inline CRGB& nscale8 (const CRGB & scaledown )
{
- r = scale8(r, scaledown.r);
- g = scale8(g, scaledown.g);
- b = scale8(b, scaledown.b);
+ r = ::scale8(r, scaledown.r);
+ g = ::scale8(g, scaledown.g);
+ b = ::scale8(b, scaledown.b);
return *this;
}
inline CRGB scale8 (const CRGB & scaledown )
{
CRGB out;
- out.r = scale8(r, scaledown.r);
- out.g = scale8(g, scaledown.g);
- out.b = scale8(b, scaledown.b);
+ out.r = ::scale8(r, scaledown.r);
+ out.g = ::scale8(g, scaledown.g);
+ out.b = ::scale8(b, scaledown.b);
return out;
}