mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
fix(esp_bootloader_format): Remove bootloader description from app build
The removed function `esp_bootloader_get_description` never worked in the app build. It can be used only in the bootloader build. To read the bootloader description from app, there is another function `esp_ota_get_bootloader_description`.
This commit is contained in:
@@ -36,6 +36,7 @@ typedef struct {
|
||||
ESP_STATIC_ASSERT(sizeof(esp_bootloader_desc_t) == 80, "esp_bootloader_desc_t should be 80 bytes");
|
||||
/** @endcond */
|
||||
|
||||
#if BOOTLOADER_BUILD
|
||||
/**
|
||||
* @brief Return esp_bootloader_desc structure.
|
||||
*
|
||||
@@ -43,6 +44,7 @@ ESP_STATIC_ASSERT(sizeof(esp_bootloader_desc_t) == 80, "esp_bootloader_desc_t sh
|
||||
* @return Pointer to esp_bootloader_desc structure.
|
||||
*/
|
||||
const esp_bootloader_desc_t *esp_bootloader_get_description(void);
|
||||
#endif // BOOTLOADER_BUILD
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user