fix: mqtt module

This commit is contained in:
serg3295 2023-07-16 10:19:16 +03:00 committed by J Mattsson
parent 12035a7678
commit 9633b03af3
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ static int mqtt_connect(lua_State* L) {
ESP_LOGD(TAG, "connect: mqtt_context*: %p", mqtt_context);
if (config.broker.address.uri != NULL)
if (config.broker.address.uri == NULL)
{
config.broker.address.port = port;
config.broker.address.transport =