编译报错does not name a type
Posted: Sat Oct 30, 2021 7:41 am
- #include "esp_adc_cal.h"
- static esp_adc_cal_characteristics_t *adcChar;
- adcChar=(esp_adc_cal_characteristics_t *)calloc(1, sizeof(esp_adc_cal_characteristics_t));
试过很多方法,都不能解决
Code: Select all
#include "esp_adc_cal.h"
void app_main(void)
{
static esp_adc_cal_characteristics_t *adcChar;
adcChar = calloc(1, sizeof(esp_adc_cal_characteristics_t));
}