xTaskDelayUntil

MyControllab
Posts: 5
Joined: Sat Jul 16, 2022 10:37 am

xTaskDelayUntil

Postby MyControllab » Sat Jul 16, 2022 11:02 am

Hello

I use VScode and ESP-IDF.

I am new to freeRTOS and ESP32 and i have question about this line of code xTaskDelayUntil(&xLastWakeTime, pdMS_TO_TICKS(800));
I get an error on the macro pdMS_TO_TICKS saying "identifier "CONFIG_FREERTOS_HZ" is undefined". But when i look into sdkconfig my CONFIG_FREERTOS_HZ=1000.

What can be wrong

Thanks for your help in advance

Who is online

Users browsing this forum: No registered users and 69 guests