_timer_create_component error?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

_timer_create_component error?

557 次查看
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 项奖励
回复
0 回复数