From 96c9c9788b4a4cd4c0166a57b8baf264883e778c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 19 Sep 2025 14:48:42 +0200 Subject: [PATCH] Fix Linker error with latest esp-hosted-mcu version (#23922) * fix compile / weird linker error --- tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino b/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino index 2ac64e0f9..a53de1a03 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino @@ -15,11 +15,12 @@ #define XDRV_84 84 #include "esp_hosted.h" -#if __has_include("port/esp/freertos/include/port_esp_hosted_host_config.h") + +extern "C" { +#include "esp_hosted_transport_config.h" +} + #include "port/esp/freertos/include/port_esp_hosted_host_config.h" -#endif //#include "port_esp_hosted_host_config.h" -#include "esp_hosted_api_types.h" -#include "esp_hosted_ota.h" struct Hosted_t { char *hosted_ota_url; // Hosted MCU OTA URL