diff --git a/src/mqtt/hasp_mqtt_esp.cpp b/src/mqtt/hasp_mqtt_esp.cpp index f505002c..0b1c42ea 100644 --- a/src/mqtt/hasp_mqtt_esp.cpp +++ b/src/mqtt/hasp_mqtt_esp.cpp @@ -465,8 +465,8 @@ static esp_err_t mqtt_event_handler(esp_mqtt_event_handle_t event) void mqttSetup() { queue = xQueueCreate(64, sizeof(mqtt_message_t)); - esp_crt_bundle_set(rootca_crt_bundle_start, rootca_crt_bundle_end-rootca_crt_bundle_start); - //arduino_esp_crt_bundle_set(rootca_crt_bundle_start); + //esp_crt_bundle_set(rootca_crt_bundle_start, rootca_crt_bundle_end-rootca_crt_bundle_start); + arduino_esp_crt_bundle_set(rootca_crt_bundle_start); mqttStart(); }