Remove port as per new Espressif MQTT lib

This commit is contained in:
2025-12-13 12:38:41 +01:00
parent 1bbd73ff49
commit 184a0eed27
-2
View File
@@ -63,9 +63,7 @@ static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_
static void mqtt_init(void) {
esp_mqtt_client_config_t mqtt_cfg = {};
mqtt_cfg.broker.address.uri = MQTT_ADDR;
mqtt_cfg.broker.address.port = MQTT_PORT;
mqtt_cfg.credentials.username = MQTT_USER;
mqtt_cfg.credentials.authentication.password = MQTT_PASS;