mirror of https://github.com/arendst/Tasmota.git
scripter fix array bug
This commit is contained in:
parent
6529820e0a
commit
c5f5bd81fe
|
@ -2731,7 +2731,7 @@ int16_t Run_Scripter(const char *type, int8_t tlen, char *js) {
|
||||||
uint8_t index=glob_script_mem.type[ind.index].index;
|
uint8_t index=glob_script_mem.type[ind.index].index;
|
||||||
if ((vtype&STYPE)==0) {
|
if ((vtype&STYPE)==0) {
|
||||||
// numeric result
|
// numeric result
|
||||||
if (ind.bits.settable) {
|
if (ind.bits.settable || ind.bits.is_filter) {
|
||||||
dfvar=&sysvar;
|
dfvar=&sysvar;
|
||||||
sysv_type=ind.index;
|
sysv_type=ind.index;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue