Sfoglia il codice sorgente

adc: add explicit sdkconfig.h include

Michael (XIAO Xufeng) 4 anni fa
parent
commit
a2fc3629bd
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      components/driver/adc_common.c

+ 2 - 1
components/driver/adc_common.c

@@ -1,5 +1,5 @@
 /*
- * SPDX-FileCopyrightText: 2019-2021 Espressif Systems (Shanghai) CO LTD
+ * SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD
  *
  * SPDX-License-Identifier: Apache-2.0
  */
@@ -7,6 +7,7 @@
 #include <esp_types.h>
 #include <stdlib.h>
 #include <ctype.h>
+#include "sdkconfig.h"
 #include "freertos/FreeRTOS.h"
 #include "freertos/semphr.h"
 #include "freertos/timers.h"