Delay for ESP8266 to keep up.

This commit is contained in:
Blaz Kristan 2022-01-16 22:08:57 +01:00
parent 97284fcf87
commit 65bb7fd533
2 changed files with 813 additions and 811 deletions

View File

@ -227,9 +227,11 @@ function onLoad()
loadPalettesData(redrawPalPrev);
loadFX(()=>{
loadFXData();
setTimeout(()=>{ //ESP8266 can't handle quick requests
loadPresets(()=>{
requestJson();
});
},100);
});
});
resetUtil();
@ -498,7 +500,7 @@ function loadFXData(callback = null)
fxdata = json||[];
// add default value for Solid
fxdata.shift()
fxdata.unshift("@;!;");
fxdata.unshift("@;!;0");
})
.catch((e)=>{
fxdata = [];

File diff suppressed because it is too large Load Diff