Home
last modified time | relevance | path

Searched refs:core_num (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.7.0/components/esp_system/task_wdt/
Dtask_wdt.c267 int core_num = 0; in unsubscribe_idle() local
271 assert(core_user_handles[core_num]); in unsubscribe_idle()
272 esp_deregister_freertos_idle_hook_for_cpu(idle_hook_cb, core_num); in unsubscribe_idle()
273 ESP_ERROR_CHECK(esp_task_wdt_delete_user(core_user_handles[core_num])); in unsubscribe_idle()
274 core_user_handles[core_num] = NULL; in unsubscribe_idle()
276 TaskHandle_t idle_task_handle = xTaskGetIdleTaskHandleForCPU(core_num); in unsubscribe_idle()
278 esp_deregister_freertos_idle_hook_for_cpu(idle_hook_cb, core_num); in unsubscribe_idle()
283 core_num++; in unsubscribe_idle()
295 int core_num = 0; in subscribe_idle() local
299 snprintf(core_user_names[core_num], CORE_USER_NAME_LEN, "CPU %d", (uint8_t)core_num); in subscribe_idle()
[all …]