mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 20:21:04 +00:00
Use configuration option instead of in components not related to FreeRTOS
Mergeshttps://github.com/espressif/esp-idf/pull/12481
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user