add network timeout to restart option

This commit is contained in:
technyon
2022-05-15 20:09:56 +02:00
parent 2875eb3421
commit ec277b1013
3 changed files with 31 additions and 12 deletions

View File

@@ -68,6 +68,9 @@ private:
char _mqttPath[181] = {0};
char _mqttUser[31] = {0};
char _mqttPass[31] = {0};
int _networkTimeout = 0;
unsigned long _lastConnectedTs = 0;
char* _presenceCsv = nullptr;
@@ -75,8 +78,6 @@ private:
bool _firstTunerStatePublish = true;
long _lastMaintain = 0;
bool (*_lockActionReceivedCallback)(const char* value) = nullptr;
void (*_configUpdateReceivedCallback)(const char* path, const char* value) = nullptr;
};