RecoverColor was missing const qualifier (#185)

This commit is contained in:
Michael Miller
2017-10-20 15:50:35 -07:00
committed by GitHub
parent 6b1cf112d3
commit c42fc3b2f5
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
"type": "git", "type": "git",
"url": "https://github.com/Makuna/NeoPixelBus" "url": "https://github.com/Makuna/NeoPixelBus"
}, },
"version": "2.2.8", "version": "2.2.9",
"frameworks": "arduino", "frameworks": "arduino",
"platforms": "*" "platforms": "*"
} }

View File

@@ -1,5 +1,5 @@
name=NeoPixelBus by Makuna name=NeoPixelBus by Makuna
version=2.2.8 version=2.2.9
author=Michael C. Miller (makuna@live.com) author=Michael C. Miller (makuna@live.com)
maintainer=Michael C. Miller (makuna@live.com) maintainer=Michael C. Miller (makuna@live.com)
sentence=A library that makes controlling NeoPixels (WS2811, WS2812, WS2813 & SK6812) and DotStars (APA102) easy. sentence=A library that makes controlling NeoPixels (WS2811, WS2812, WS2813 & SK6812) and DotStars (APA102) easy.

View File

@@ -47,7 +47,7 @@ private:
} }
} }
void RecoverColor(typename T_COLOR_FEATURE::ColorObject* color) void RecoverColor(typename T_COLOR_FEATURE::ColorObject* color) const
{ {
if (_brightness) if (_brightness)
{ {