This commit is contained in:
Thomas Göttgens
2024-09-26 11:08:49 +02:00
parent 833d7f65bc
commit b4bdf604f5
2 changed files with 5 additions and 1 deletions

View File

@@ -329,7 +329,7 @@ void MQTT::reconnect()
mqttPassword = moduleConfig.mqtt.password;
}
#if HAS_WIFI && !defined(ARCH_PORTDUINO)
#ifndef CONFIG_IDF_TARGET_ESP32C6
#if !defined(CONFIG_IDF_TARGET_ESP32C6) && !defined(RPI_PICO)
if (moduleConfig.mqtt.tls_enabled) {
// change default for encrypted to 8883
try {