change call to not use json, prevent duplicate inits

This commit is contained in:
proddy
2020-11-23 13:14:40 +01:00
parent cd016ae639
commit 647384f5c8
2 changed files with 11 additions and 10 deletions

View File

@@ -219,6 +219,7 @@ class Mqtt {
uint32_t last_publish_sensor_ = 0;
static bool connecting_;
static bool initialized_;
static uint16_t mqtt_publish_fails_;
static uint8_t connectcount_;