some debug

This commit is contained in:
2020-03-09 12:33:45 +01:00
parent 9213cfac11
commit 80103312ce

View File

@ -149,8 +149,8 @@ void influxAddFrequency(uint32_t period, double fRaw, double fSmoothed, double g
if (divider == ONE_SECOND_DIVIDER) {
double freq1S = ((double)ONE_SECOND_DIVIDER) / summedUpTime;
logmsg(LOG_DEBUG, "%llu: %f\n", tt, freq1S);
logmsg(LOG_DEBUG, "%llu: %f %f\n", tt, summedUpTime, freq1S);
int c = sprintf(tmpBuf, "mainsfrequency1S,host=%s,location=%s "
"freq=%f "
"%llu\n",