Merge branch 'bugfix/extern_c_decl_4.0' into 'release/v4.0'

[cxx]: fixed extern "C" declarations (backport 4.0)

See merge request espressif/esp-idf!12744
This commit is contained in:
Angus Gratton 2021-04-23 08:43:21 +00:00
commit 28a42ff170

View File

@ -15,14 +15,14 @@
#ifndef __ESP_ADC_CAL_H__
#define __ESP_ADC_CAL_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "esp_err.h"
#include "driver/adc.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Type of calibration value used in characterization
*/