Fixed esp8266 compile error and set version date
This commit is contained in:
@@ -549,7 +549,7 @@ class JMapC {
|
|||||||
void deletejVectorMap() {
|
void deletejVectorMap() {
|
||||||
if (jVectorMap.size() > 0) {
|
if (jVectorMap.size() > 0) {
|
||||||
Serial.println("delete jVectorMap");
|
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;
|
delete jVectorMap[i].array;
|
||||||
jVectorMap.clear();
|
jVectorMap.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// 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
|
//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
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ void appendGPIOinfo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// add reserved and usermod pins as d.um_p array
|
// add reserved and usermod pins as d.um_p array
|
||||||
oappend(SET_F(rsvd));
|
oappend(rsvd);
|
||||||
|
|
||||||
#ifdef WLED_ENABLE_DMX
|
#ifdef WLED_ENABLE_DMX
|
||||||
oappend(SET_F(",2")); // DMX hardcoded pin
|
oappend(SET_F(",2")); // DMX hardcoded pin
|
||||||
@@ -256,7 +256,7 @@ void appendGPIOinfo() {
|
|||||||
|
|
||||||
// add info for read-only GPIO
|
// add info for read-only GPIO
|
||||||
//WLEDMM: use isPinOK instead of hardcoded pins
|
//WLEDMM: use isPinOK instead of hardcoded pins
|
||||||
oappend(SET_F(ro_gpio));
|
oappend(ro_gpio);
|
||||||
oappend(SET_F("];"));
|
oappend(SET_F("];"));
|
||||||
|
|
||||||
// add info about max. # of pins
|
// 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(");");
|
oappend(SET_F("xOption('if:SCLK:pin',1,' ⎌',")); oappendi(HW_PIN_CLOCKSPI); oappend(");");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
Usermod *usermod = usermods.lookupName(request->getParam("um")->value().c_str());
|
Usermod *usermod = usermods.lookupName(request->getParam("um")->value().c_str());
|
||||||
if (usermod) usermod->appendConfigData();
|
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
|
if (subPage == 9) // update
|
||||||
|
|||||||
Reference in New Issue
Block a user