mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
get correct topic var
This commit is contained in:
parent
2ad018816b
commit
a0de32e67d
@ -4769,7 +4769,7 @@ extern char *SML_GetSVal(uint32_t index);
|
|||||||
goto strexit;
|
goto strexit;
|
||||||
}
|
}
|
||||||
if (!strncmp(vname, "topic", 5)) {
|
if (!strncmp(vname, "topic", 5)) {
|
||||||
if (sp) strlcpy(sp, SettingsText(SET_MQTT_TOPIC), glob_script_mem.max_ssize);
|
if (sp) strlcpy(sp, TasmotaGlobal.mqtt_topic, glob_script_mem.max_ssize);
|
||||||
goto strexit;
|
goto strexit;
|
||||||
}
|
}
|
||||||
#ifdef USE_SCRIPT_TIMER
|
#ifdef USE_SCRIPT_TIMER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user