mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-11 16:06:38 +02:00
Merge branch 'main' into main
This commit is contained in:
commit
e0800bd87e
7 changed files with 54 additions and 31 deletions
|
@ -38,7 +38,8 @@ class mqtt {
|
|||
|
||||
if(!mClient->connected())
|
||||
reconnect();
|
||||
mClient->publish(top, msg);
|
||||
if(mClient->connected())
|
||||
mClient->publish(top, msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue