Page 1 of 1

Event task priority ???

Posted: Sun Aug 06, 2023 9:29 pm
by Baldhead
Hi,

I think that the events in ESP32-S3 run in a separated task.

I register a event like so:

Code: Select all

ESP_ERROR_CHECK(esp_event_handler_register(ESP_HTTPS_OTA_EVENT, ESP_EVENT_ANY_ID, &ota_event_handler, NULL));
What is the event task priority ???

Re: Event task priority ???

Posted: Sun Aug 06, 2023 9:57 pm
by MicroController
I believe it's (ESP_TASK_PRIO_MAX - 5).

Re: Event task priority ???

Posted: Sun Aug 06, 2023 10:56 pm
by Baldhead
Is there any way to get this value by macro or function ?

Re: Event task priority ???

Posted: Mon Aug 07, 2023 12:19 am
by Baldhead
Sorry @MicroController,

Only add:
#include "esp_task.h"

ESP_TASKD_EVENT_PRIO

Thank`s.