diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index 50e881ed..de9a3e26 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -448,6 +448,7 @@ void WS2812FX::setSegment(uint8_t n, uint16_t i1, uint16_t i2) { unlockRange(seg.start, seg.stop); _modeUsesLock = true; } + _segment_index = n; fill(0); //turn old segment range off if (i2 <= i1) //disable segment { seg.stop = 0; return; diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index dc87e409..cbeab632 100644 Binary files a/wled00/data/settings_leds.htm and b/wled00/data/settings_leds.htm differ diff --git a/wled00/html_mobile.h b/wled00/html_mobile.h index 14d86cc8..812d98e3 100644 --- a/wled00/html_mobile.h +++ b/wled00/html_mobile.h @@ -5,7 +5,7 @@ * Workflow for creating them from HTML source: * 1. Minify HTML (https://htmlcompressor.com/compressor/) (optional) * 2. Compress with gzip (https://online-converting.com/archives/convert-to-gzip/) - * 3. Convert gzip binary to c array (https://littlevgl.com/image-to-c-array) (select RAW as color format) + * 3. Convert gzip binary to c array (https://littlevgl.com/image-to-c-array) (select RAW as color format, add .bmp file extension to gzip) * alternative: https://sourceforge.net/projects/bin2header/ * 4. update length value */ diff --git a/wled00/html_settings.h b/wled00/html_settings.h index f4d9f111..f688c56d 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -23,7 +23,7 @@ const char PAGE_settings[] PROGMEM = R"=====( //wifi settings const char PAGE_settings_wifi[] PROGMEM = R"=====( - + WiFi Settings