Fix for main segment.

This commit is contained in:
Blaz Kristan 2022-02-24 20:49:53 +01:00
parent 110a75ba0b
commit 053a1d34e5
3 changed files with 1619 additions and 1617 deletions

View File

@ -1728,7 +1728,8 @@ function tglSegn(s)
function selSegEx(s) function selSegEx(s)
{ {
var obj = {"seg":[]}; var obj = {"seg":[]};
for (let i=0; i<=lSeg; i++) obj.seg.push({"sel":(i==s)?true:false}); for (let i=0; i<=lSeg; i++) obj.seg.push({"id":i,"sel":(i==s)?true:false});
obj.mainseg = s;
requestJson(obj); requestJson(obj);
} }

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
*/ */
// version code in format yymmddb (b = daily build) // version code in format yymmddb (b = daily build)
#define VERSION 2202231 #define VERSION 2202241
//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