diff --git a/wled00/WS2812FX.cpp b/wled00/WS2812FX.cpp index 843bd8588..7dee7f7a6 100644 --- a/wled00/WS2812FX.cpp +++ b/wled00/WS2812FX.cpp @@ -1918,7 +1918,7 @@ uint16_t WS2812FX::mode_meteor() { for(int j = 0; j < meteorSize; j++) { uint16_t index = in + j; if(in + j >= SEGMENT.stop) { - index = SEGMENT.start + (in + j - SEGMENT.stop) -2; + index = SEGMENT.start + (in + j - SEGMENT.stop); } _locked[index] = 240; @@ -1953,7 +1953,7 @@ uint16_t WS2812FX::mode_meteor_smooth() { for(int j = 0; j < meteorSize; j++) { uint16_t index = in + j; if(in + j >= SEGMENT.stop) { - index = SEGMENT.start + (in + j - SEGMENT.stop) -2; + index = SEGMENT.start + (in + j - SEGMENT.stop); } setPixelColor(index, color_blend(getPixelColor(index), color_from_palette(240, false, true, 255), 48)); _locked[index] = 240; diff --git a/wled00/wled00.ino b/wled00/wled00.ino index c29e623f6..259cbd9fb 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -98,7 +98,7 @@ //version code in format yymmddb (b = daily build) -#define VERSION 1903252 +#define VERSION 1903271 char versionString[] = "0.8.4";