_timer_create_component error?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

_timer_create_component error?

239 Views
Teckna
Contributor V

Hi everyone,

I think that there is an error in the _timer_create_component() function (both in 3.8.1 and 4.0.2): a few lines before the end of the function there is the instruction

    kernel_data->COMPONENT_CLEANUP[KERNEL_EVENTS] = _timer_cleanup;

but I think it should be

    kernel_data->COMPONENT_CLEANUP[KERNEL_TIMER] = _timer_cleanup;

Am I right or do I make a mistake?

Many thanks

Teckna

0 Kudos
0 Replies