|
@ -376,7 +376,8 @@ void app::processPayload(bool retransmit) { |
|
|
|
|
|
|
|
|
iv->setQueuedCmdFinished(); |
|
|
iv->setQueuedCmdFinished(); |
|
|
|
|
|
|
|
|
// send out
|
|
|
// MQTT send out
|
|
|
|
|
|
if(mMqttActive) { |
|
|
char topic[30], val[10]; |
|
|
char topic[30], val[10]; |
|
|
for (uint8_t id = 0; id < mSys->getNumInverters(); id++) |
|
|
for (uint8_t id = 0; id < mSys->getNumInverters(); id++) |
|
|
{ |
|
|
{ |
|
@ -395,6 +396,7 @@ void app::processPayload(bool retransmit) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#ifdef __MQTT_AFTER_RX__ |
|
|
#ifdef __MQTT_AFTER_RX__ |
|
|
doMQTT = true; |
|
|
doMQTT = true; |
|
|