Fix Linker error with latest esp-hosted-mcu version (#23922)

* fix compile / weird linker error
This commit is contained in:
Jason2866 2025-09-19 14:48:42 +02:00 committed by GitHub
parent 514c444cce
commit 96c9c9788b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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