From eb83c754bfcf06080388ae55d198333aa0a52451 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 9 Mar 2020 12:23:16 +0100 Subject: [PATCH] output 1s --- src/influx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/influx.c b/src/influx.c index 0a50ce0..2bc705a 100644 --- a/src/influx.c +++ b/src/influx.c @@ -151,7 +151,7 @@ void influxAddFrequency(uint32_t period, double fRaw, double fSmoothed, double g int c = sprintf(tmpBuf, "mainsfrequency1S,host=%s,location=%s " "freq=%f " "%llu\n", - influxTag, valid, location, + influxTag, location, freq1S, tt);