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:
Diffstat (limited to 'pixeltypes.h')
-rw-r--r--pixeltypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixeltypes.h b/pixeltypes.h
index fd20d256..075c7945 100644
--- a/pixeltypes.h
+++ b/pixeltypes.h
@@ -485,7 +485,7 @@ struct CRGB {
}
/// return a new CRGB object after performing a linear interpolation between this object and the passed in object
- inline CRGB lerp8( const CRGB& other, fract8 frac)
+ inline CRGB lerp8( const CRGB& other, fract8 frac) const
{
CRGB ret;
@@ -497,7 +497,7 @@ struct CRGB {
}
/// return a new CRGB object after performing a linear interpolation between this object and the passed in object
- inline CRGB lerp16( const CRGB& other, fract16 frac)
+ inline CRGB lerp16( const CRGB& other, fract16 frac) const
{
CRGB ret;