1 Commits

Author SHA1 Message Date
7d9e4dfda1 another fix 2020-07-29 15:19:10 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
{
"releaseTag": "v1.0.2",
"releaseTag": "v1.0.3",
"createReleaseTag": "true",
"releaseName": "heartbeat fix",
"description": "heartbeat message fixed"
"releaseName": "heartbeat fix 2",
"description": "heartbeat message fixed, raincnt has to be static"
}

View File

@ -69,7 +69,7 @@ void loopApplication() {
static uint32_t totalCnt = 0;
static uint32_t lastValuesMillis = 0;
static uint32_t lastHeartbeatMillis = 0;
uint32_t rainCnt = 0;
static uint32_t rainCnt = 0;
if (currentMillis > (lastValuesMillis + (configBlock.valuesPeriod * 1000))) {
lastValuesMillis = currentMillis;