From 85213e3388ab07953225c3b3aef5bc481faba637 Mon Sep 17 00:00:00 2001 From: Albrecht Gebhardt Date: Wed, 21 Nov 2018 08:22:23 +0100 Subject: [PATCH] rain trouble --- frewe-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frewe-client.c b/frewe-client.c index f5a8a33..3677512 100644 --- a/frewe-client.c +++ b/frewe-client.c @@ -1552,7 +1552,7 @@ int ws_parse(uint8_t *buffer, uint8_t *buffer60, uint8_t *buffer0h, time_t curti if (w.rainhour<0) { logger(LOG_ERROR,"ws_parse","Rainhour is negative, will set it to 0, rain=%f, lastrain=%f",w.rain,lastrain); w.rainhour = 0; - w.ok=0; + // w.ok=0; } if (w.rainhour>150) { logger(LOG_ERROR,"ws_parse","Rainhour is out of range, rain=%f, lastrain=%f",w.rain,lastrain); -- GitLab