mirror of
https://github.com/arendst/Tasmota.git
synced 2026-03-20 22:28:07 +01:00
Fix globals
This commit is contained in:
@@ -849,7 +849,7 @@ const char kGlobalValues[] PROGMEM = D_JSON_TEMPERATURE "|" D_JSON_HUMIDITY "|"
|
||||
|
||||
void GetGlobalValues(void) {
|
||||
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];
|
||||
GetTextIndexed(key, sizeof(key), type, kGlobalValues);
|
||||
|
||||
Reference in New Issue
Block a user