Procházet zdrojové kódy

esp_hw_support: Fix check for SOC_MODEM_CLOCK_IS_INDEPENDENT definition

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
Gustavo Henrique Nihei před 2 roky
rodič
revize
459ebff4ff

+ 2 - 1
components/esp_hw_support/include/esp_private/esp_modem_clock.h

@@ -1,5 +1,5 @@
 /*
- * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
+ * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
  *
  * SPDX-License-Identifier: Apache-2.0
  */
@@ -10,6 +10,7 @@
 #include <stddef.h>
 #include <stdint.h>
 
+#include "soc/soc_caps.h"
 #include "soc/periph_defs.h"
 #include "hal/modem_clock_types.h"
 

+ 1 - 0
components/esp_hw_support/periph_ctrl.c

@@ -7,6 +7,7 @@
 #include "hal/clk_gate_ll.h"
 #include "esp_attr.h"
 #include "esp_private/periph_ctrl.h"
+#include "soc/soc_caps.h"
 
 #if SOC_MODEM_CLOCK_IS_INDEPENDENT
 #include "esp_private/esp_modem_clock.h"