mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
commit
d4421b2d08
@ -2731,9 +2731,14 @@ 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;
|
||||||
|
if (ind.bits.settable) {
|
||||||
sysv_type=ind.index;
|
sysv_type=ind.index;
|
||||||
|
} else {
|
||||||
|
sysv_type=0;
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
dfvar=&glob_script_mem.fvars[index];
|
dfvar=&glob_script_mem.fvars[index];
|
||||||
sysv_type=0;
|
sysv_type=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user