Преглед изворни кода

Add sdkconfig include to cpu_util.h so CONFIG_ESP32_DEBUG_OCDAWARE actually resolves

Jeroen Domburg пре 9 година
родитељ
комит
0bfe08578b
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      components/esp32/cpu_util.c

+ 1 - 0
components/esp32/cpu_util.c

@@ -16,6 +16,7 @@
 #include "soc/cpu.h"
 #include "soc/soc.h"
 #include "soc/rtc_cntl_reg.h"
+#include "sdkconfig.h"
 
 void IRAM_ATTR esp_cpu_stall(int cpu_id)
 {