aqhome-tool: preset var.

This commit is contained in:
Martin Preuss
2026-08-06 00:07:20 +02:00
parent 3df7b69c2c
commit 80259d39c9

View File

@@ -103,7 +103,7 @@ AQH_MESSAGE *_createRequestMessage(GWEN_UNUSED AQH_OBJECT *o, uint32_t msgId)
const char *valueName;
const char *valueUnits;
const char *valueDataAsString;
double valueData;
double valueData=0.0;
AQH_VALUE *v;
int rv;
@@ -205,6 +205,7 @@ int _read16BitValues(const GWEN_STRINGLIST *sl, double *pDouble)
}
result<<=16;
result+=(((uint32_t) v) & 0xffff);
/*DBG_ERROR(NULL, "Adding %f (total: %lu, src=\"%s\")", v, (long unsigned int) result, s?s:"<empty>");*/
}
se=GWEN_StringListEntry_Next(se);
}