From 13cb2eb0145155645ccd232f8bc318179374c82b Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Mon, 1 Apr 2019 09:44:24 -0700 Subject: [PATCH] increment version (#260) --- library.json | 2 +- library.properties | 2 +- src/internal/HtmlColor.h | 2 +- src/internal/NeoGamma.h | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/library.json b/library.json index b0e9783..28b247f 100644 --- a/library.json +++ b/library.json @@ -8,7 +8,7 @@ "type": "git", "url": "https://github.com/Makuna/NeoPixelBus" }, - "version": "2.4.3", + "version": "2.4.4", "frameworks": "arduino", "platforms": "*" } diff --git a/library.properties b/library.properties index 0a4a8f7..e9f3842 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=NeoPixelBus by Makuna -version=2.4.3 +version=2.4.4 author=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. diff --git a/src/internal/HtmlColor.h b/src/internal/HtmlColor.h index a40d622..238d4ac 100644 --- a/src/internal/HtmlColor.h +++ b/src/internal/HtmlColor.h @@ -212,7 +212,7 @@ struct HtmlColor for (uint8_t indexName = 0; indexName < T_HTMLCOLORNAMES::Count(); ++indexName) { const HtmlColorPair* colorPair = T_HTMLCOLORNAMES::Pair(indexName); - PGM_P searchName = (PGM_P)pgm_read_ptr(&colorPair->Name); + PGM_P searchName = reinterpret_cast(pgm_read_ptr(&(colorPair->Name))); size_t str1Size = nameSize; const char* str1 = name; const char* str2P = searchName; diff --git a/src/internal/NeoGamma.h b/src/internal/NeoGamma.h index 9b94e24..4aaf68e 100644 --- a/src/internal/NeoGamma.h +++ b/src/internal/NeoGamma.h @@ -1,5 +1,6 @@ /*------------------------------------------------------------------------- -NeoPixelGamma class is used to correct RGB colors for human eye gamma levels +NeoGamma class is used to correct RGB colors for human eye gamma levels equally +across all color channels Written by Michael C. Miller.