Browse Source
Merge pull request #69 from sude22/sude22/fix67_MQTT_topic
don't set MQTT topic to fixed value 'inverter'
pull/70/head
lumapu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
tools/esp8266/app.cpp
|
@ -130,8 +130,6 @@ void app::setup(uint32_t timeout) { |
|
|
mMqttActive = true; |
|
|
mMqttActive = true; |
|
|
if(mMqttInterval < 1) |
|
|
if(mMqttInterval < 1) |
|
|
mMqttInterval = 10; |
|
|
mMqttInterval = 10; |
|
|
|
|
|
|
|
|
snprintf(mqttTopic, MQTT_TOPIC_LEN, "inverter"); |
|
|
|
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
mMqttInterval = 0xffff; |
|
|
mMqttInterval = 0xffff; |
|
|