mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-02 19:55:54 +02:00
added comment about mqtt reconnect
This commit is contained in:
parent
4f62d10598
commit
0b968b4591
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ void app::loop(void) {
|
|||
if(checkTicker(&mTicker, 1000)) {
|
||||
if((++mMqttTicker >= mMqttInterval) && (mMqttInterval != 0xffff) && mMqttActive) {
|
||||
mMqttTicker = 0;
|
||||
mMqtt.isConnected(true);
|
||||
mMqtt.isConnected(true); // really needed? See comment from HorstG-57 #176
|
||||
char topic[30], val[10];
|
||||
for(uint8_t id = 0; id < mSys->getNumInverters(); id++) {
|
||||
Inverter<> *iv = mSys->getInverterByPos(id);
|
||||
|
|
Loading…
Add table
Reference in a new issue