Fixed esp8266 compile error and set version date

This commit is contained in:
Ewoud
2023-01-14 17:45:57 +01:00
parent 90c0870e74
commit c3cc9d9803
3 changed files with 7 additions and 7 deletions

View File

@@ -549,7 +549,7 @@ class JMapC {
void deletejVectorMap() {
if (jVectorMap.size() > 0) {
Serial.println("delete jVectorMap");
for (int i=0; i<jVectorMap.size(); i++)
for (size_t i=0; i<jVectorMap.size(); i++)
delete jVectorMap[i].array;
jVectorMap.clear();
}

View File

@@ -8,7 +8,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2301120
#define VERSION 2301140
//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG

View File

@@ -211,7 +211,7 @@ void appendGPIOinfo() {
}
// add reserved and usermod pins as d.um_p array
oappend(SET_F(rsvd));
oappend(rsvd);
#ifdef WLED_ENABLE_DMX
oappend(SET_F(",2")); // DMX hardcoded pin
@@ -256,7 +256,7 @@ void appendGPIOinfo() {
// add info for read-only GPIO
//WLEDMM: use isPinOK instead of hardcoded pins
oappend(SET_F(ro_gpio));
oappend(ro_gpio);
oappend(SET_F("];"));
// add info about max. # of pins
@@ -734,13 +734,13 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
oappend(SET_F("xOption('if:SCLK:pin',1,' ⎌',")); oappendi(HW_PIN_CLOCKSPI); oappend(");");
#endif
}
else {
Usermod *usermod = usermods.lookupName(request->getParam("um")->value().c_str());
if (usermod) usermod->appendConfigData();
}
// oappend(SET_F("console.log('getSettingsJS fix ro pins', d.max_gpio, d.ro_pins, d.ro_gpio);"));
oappend(SET_F("pinDropdownsPost();"));
// oappend(SET_F("console.log('getSettingsJS fix ro pins', d.max_gpio, d.ro_pins, d.ro_gpio);"));
oappend(SET_F("pinDropdownsPost();"));
}
if (subPage == 9) // update