fix(bootloader_support): Add missing c linkage to some headers

Merges https://github.com/espressif/esp-idf/pull/13890
This commit is contained in:
andylinpersonal
2024-06-01 23:48:58 +08:00
committed by Konstantin Kondrashov
parent 13e5b6f335
commit 100f23a1c1
8 changed files with 65 additions and 8 deletions

View File

@@ -11,6 +11,10 @@
// TODO: IDF-9197
#include "sdkconfig.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief ESP chip ID
*
@@ -120,3 +124,7 @@ typedef struct {
} esp_image_segment_header_t;
#define ESP_IMAGE_MAX_SEGMENTS 16 /*!< Max count of segments in the image. */
#ifdef __cplusplus
}
#endif