mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 15:27:17 +00:00
Fix globals
This commit is contained in:
parent
cefe015c68
commit
6444e5ff8f
@ -849,7 +849,7 @@ const char kGlobalValues[] PROGMEM = D_JSON_TEMPERATURE "|" D_JSON_HUMIDITY "|"
|
|||||||
|
|
||||||
void GetGlobalValues(void) {
|
void GetGlobalValues(void) {
|
||||||
for (uint32_t type = 0; type < 3; type++) {
|
for (uint32_t type = 0; type < 3; type++) {
|
||||||
if (!Settings->global_sensor_index[type] || TasmotaGlobal.user_globals[0]) { continue; }
|
if (!Settings->global_sensor_index[type] || TasmotaGlobal.user_globals[type]) { continue; }
|
||||||
|
|
||||||
char key[20];
|
char key[20];
|
||||||
GetTextIndexed(key, sizeof(key), type, kGlobalValues);
|
GetTextIndexed(key, sizeof(key), type, kGlobalValues);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user