Merge branch 'main' into main

This commit is contained in:
lumapu 2022-06-02 22:39:55 +02:00 committed by GitHub
commit e0800bd87e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 31 deletions

View file

@ -38,7 +38,8 @@ class mqtt {
if(!mClient->connected())
reconnect();
mClient->publish(top, msg);
if(mClient->connected())
mClient->publish(top, msg);
}
}