bootloader_support: Add C++ header guards

As reported on forum https://esp32.com/viewtopic.php?f=13&t=11173&p=45470
This commit is contained in:
Angus Gratton
2019-06-26 11:02:15 +10:00
committed by Angus Gratton
parent 2c26eb2213
commit c8570ffa6d
7 changed files with 48 additions and 5 deletions

View File

@@ -16,6 +16,10 @@
#include "esp_flash_partitions.h"
#include "esp_image_format.h"
#ifdef __cplusplus
extern "C" {
#endif
/// Type of hold a GPIO in low state
typedef enum {
GPIO_LONG_HOLD = 1, /*!< The long hold GPIO */
@@ -141,3 +145,7 @@ esp_err_t bootloader_common_get_partition_description(const esp_partition_pos_t
* @brief Configure VDDSDIO, call this API to rise VDDSDIO to 1.9V when VDDSDIO regulator is enabled as 1.8V mode.
*/
void bootloader_common_vddsdio_configure();
#ifdef __cplusplus
}
#endif