Jelajahi Sumber

Merge branch 'bugfix/include_freertosconfig_h_in_critical_section_h' into 'master'

esp_system: include FreeRTOS.h explicitly in critical_section.h

See merge request espressif/esp-idf!22405
Armando (Dou Yiwen) 3 tahun lalu
induk
melakukan
7f335a970d

+ 2 - 2
components/esp_system/include/esp_private/critical_section.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
  */
@@ -13,7 +13,7 @@
  */
 #pragma once
 
-#include "freertos/portmacro.h"
+#include "freertos/FreeRTOS.h"
 #include "spinlock.h"
 
 #ifdef __cplusplus