Tiny things
This commit is contained in:
@@ -1375,7 +1375,7 @@ void WS2812FX::enumerateLedmaps() {
|
|||||||
snprintf_P(fileName, sizeof(fileName), PSTR("/ledmap%d.json"), i);
|
snprintf_P(fileName, sizeof(fileName), PSTR("/ledmap%d.json"), i);
|
||||||
bool isFile = WLED_FS.exists(fileName);
|
bool isFile = WLED_FS.exists(fileName);
|
||||||
|
|
||||||
#ifndef ESP8266
|
#ifndef ESP8266
|
||||||
if (ledmapNames[i-1]) { //clear old name
|
if (ledmapNames[i-1]) { //clear old name
|
||||||
delete[] ledmapNames[i-1];
|
delete[] ledmapNames[i-1];
|
||||||
ledmapNames[i-1] = nullptr;
|
ledmapNames[i-1] = nullptr;
|
||||||
@@ -1934,7 +1934,6 @@ void WS2812FX::resetSegments(bool boundsOnly) { //WLEDMM add boundsonly
|
|||||||
_mainSegment = 0;
|
_mainSegment = 0;
|
||||||
} else { //WLEDMM boundsonly
|
} else { //WLEDMM boundsonly
|
||||||
for (segment &seg : _segments) {
|
for (segment &seg : _segments) {
|
||||||
bool recreateLeds = false;
|
|
||||||
#ifndef WLED_DISABLE_2D
|
#ifndef WLED_DISABLE_2D
|
||||||
seg.start = 0;
|
seg.start = 0;
|
||||||
seg.stop = Segment::maxWidth;
|
seg.stop = Segment::maxWidth;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2306080
|
#define VERSION 2306081
|
||||||
|
|
||||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||||
//#define WLED_USE_MY_CONFIG
|
//#define WLED_USE_MY_CONFIG
|
||||||
@@ -702,8 +702,8 @@ WLED_GLOBAL volatile uint8_t loadedLedmap _INIT(0); // WLEDMM default 0
|
|||||||
WLED_GLOBAL volatile bool suspendStripService _INIT(false); // WLEDMM temporarily prevent running strip.service, when strip or segments are "under update" and inconsistent
|
WLED_GLOBAL volatile bool suspendStripService _INIT(false); // WLEDMM temporarily prevent running strip.service, when strip or segments are "under update" and inconsistent
|
||||||
#ifndef ESP8266
|
#ifndef ESP8266
|
||||||
WLED_GLOBAL char *ledmapNames[WLED_MAX_LEDMAPS-1] _INIT_N(({nullptr}));
|
WLED_GLOBAL char *ledmapNames[WLED_MAX_LEDMAPS-1] _INIT_N(({nullptr}));
|
||||||
WLED_GLOBAL uint16_t ledmapMaxSize _INIT(0); //WLEDMM TroyHack
|
|
||||||
#endif
|
#endif
|
||||||
|
WLED_GLOBAL uint16_t ledmapMaxSize _INIT(0); //WLEDMM TroyHack
|
||||||
#if WLED_MAX_LEDMAPS>16
|
#if WLED_MAX_LEDMAPS>16
|
||||||
WLED_GLOBAL uint32_t ledMaps _INIT(0); // bitfield representation of available ledmaps
|
WLED_GLOBAL uint32_t ledMaps _INIT(0); // bitfield representation of available ledmaps
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user