renamed mainerrortopic with lwt, only send it once on connecting, minor fixes and cleanups

This commit is contained in:
CaCO3
2022-10-26 10:34:15 +02:00
parent 6b47eef4cd
commit 98451c8fc7
2 changed files with 39 additions and 60 deletions

View File

@@ -17,7 +17,7 @@ protected:
bool MQTTenable;
int keepAlive;
std::string maintopic, mainerrortopic;
std::string maintopic, lwt;
void SetInitialParameter(void);
public: