adc_types.h:90:27: error: expected ',' or '}' before '__attribute__'
cchantra opened this issue · 0 comments
When compiling the sample code, eg. factory_reset,
I use the esp32 WiFi LORA . My board is v2.
Can you suggest any solution?
Regards
========================
In file included from C:\Users\Joy\Documents\Arduino\hardware\WiFi_Kit_series\esp32/tools/sdk/esp32/include/driver/include/driver/adc.h:14:0,
from C:\Users\Joy\Documents\Arduino\hardware\WiFi_Kit_series\esp32\cores\esp32\esp32-hal-adc.c:16:
C:\Users\Joy\Documents\Arduino\hardware\WiFi_Kit_series\esp32/tools/sdk/esp32/include/hal/include/hal/adc_types.h:90:27: error: expected ',' or '}' before 'attribute'
ADC_DIGI_FORMAT_12BIT attribute((deprecated)), /*!<ADC to DMA data format, [15:12]-channel, [11: 0]-12 bits ADC data (adc_digi_output_data_t
). Note: For single convert mode. /
^
In file included from C:\Users\Joy\Documents\Arduino\hardware\WiFi_Kit_series\esp32/tools/sdk/esp32/include/hal/include/hal/dac_types.h:4:0,
from C:\Users\Joy\Documents\Arduino\hardware\WiFi_Kit_series\esp32/tools/sdk/esp32/include/driver/include/driver/dac_common.h:16,
from C:\Users\Joy\Documents\Arduino\hardware\WiFi_Kit_series\esp32\cores\esp32\esp32-hal-dac.c:22:
C:\Users\Joy\Documents\Arduino\hardware\WiFi_Kit_series\esp32/tools/sdk/esp32/include/hal/include/hal/adc_types.h:90:27: error: expected ',' or '}' before 'attribute'
ADC_DIGI_FORMAT_12BIT attribute((deprecated)), /!<ADC to DMA data format, [15:12]-channel, [11: 0]-12 bits ADC data (adc_digi_output_data_t
). Note: For single convert mode. */
^