فهرست منبع

freertos: add pm_trace header include

Marius Vikhammer 4 سال پیش
والد
کامیت
f3639dafc8
2فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 0
      components/freertos/port/port_systick.c
  2. 0 1
      components/freertos/port/riscv/port.c

+ 4 - 0
components/freertos/port/port_systick.c

@@ -20,6 +20,10 @@
 #include "hal/systimer_ll.h"
 #endif
 
+#ifdef CONFIG_PM_TRACE
+#include "esp_private/pm_trace.h"
+#endif //CONFIG_PM_TRACE
+
 BaseType_t xPortSysTickHandler(void);
 
 #ifdef CONFIG_FREERTOS_SYSTICK_USES_CCOUNT

+ 0 - 1
components/freertos/port/riscv/port.c

@@ -85,7 +85,6 @@
 #include "riscv/riscv_interrupts.h"
 #include "riscv/interrupt.h"
 #include "esp_private/crosscore_int.h"
-#include "esp_private/pm_trace.h"
 #include "esp_attr.h"
 #include "esp_system.h"
 #include "esp_intr_alloc.h"