Is there implementation of these functions available for Freertos version of app_timer?
app_timer_cnt_get()
app_timer_cnt_diff_compute()
they are required for LESC operations.
Thanks!
Is there implementation of these functions available for Freertos version of app_timer?
app_timer_cnt_get()
app_timer_cnt_diff_compute()
they are required for LESC operations.
Thanks!
Hi.
There is actually no need for those functions in FreeRTOS.
Instead, you can use
xTaskGetTickCount - which returns the count of ticks since vTaskStartScheduler was called.
(Ref: https://www.freertos.org/a00021.html#xTaskGetTickCount)
When using an RTOS, it is best to use RTOS features as much as possible.
Best regards,
Joakim
This issue is still present in the latest SDK 17.1.0. Is it planned to be fixed?
This issue is still present in the latest SDK 17.1.0. Is it planned to be fixed?