mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-27 14:57:01 +02:00
* added RX channel 40
* improved RF24 ISR * reduced AP active time to 60s (will be increase once a client is connected) * added `yield` without success -> random reboot (cause 4)
This commit is contained in:
parent
247ae3e1db
commit
c7d039ac8c
7 changed files with 53 additions and 33 deletions
|
@ -36,7 +36,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