Use configuration option instead of in components not related to FreeRTOS

Mergeshttps://github.com/espressif/esp-idf/pull/12481
This commit is contained in:
fl0wl0w
2023-10-30 01:23:23 -05:00
committed by espressif-bot
parent dbe08fbaae
commit d149c1b26f
57 changed files with 127 additions and 127 deletions

View File

@@ -22,7 +22,7 @@
inline static uint32_t get_ccount(void)
{
uint32_t ccount = esp_cpu_get_cycle_count() & ~3;
#ifndef CONFIG_FREERTOS_UNICORE
#ifndef CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
ccount |= xPortGetCoreID();
#endif
return ccount;