diff --git a/components/driver/esp32s2beta/include/touch_sensor.h b/components/driver/esp32s2beta/include/touch_sensor.h index fd6a055a97..784ae45d38 100644 --- a/components/driver/esp32s2beta/include/touch_sensor.h +++ b/components/driver/esp32s2beta/include/touch_sensor.h @@ -454,4 +454,4 @@ esp_err_t touch_pad_sleep_channel_read_proximity_cnt(uint32_t *proximity_cnt); #ifdef __cplusplus } -#endif \ No newline at end of file +#endif diff --git a/components/esp_adc_cal/include/esp_adc_cal.h b/components/esp_adc_cal/include/esp_adc_cal.h index b1798847bd..b5a869e28a 100644 --- a/components/esp_adc_cal/include/esp_adc_cal.h +++ b/components/esp_adc_cal/include/esp_adc_cal.h @@ -15,14 +15,14 @@ #ifndef __ESP_ADC_CAL_H__ #define __ESP_ADC_CAL_H__ -#ifdef __cplusplus -extern "C" { -#endif - #include #include "esp_err.h" #include "driver/adc.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * @brief Type of calibration value used in characterization */