Function 'chip_TIMER_init' included by LPCOpen library have a wrong flow control

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

Function 'chip_TIMER_init' included by LPCOpen library have a wrong flow control

878 次查看
jinliwang
Contributor I

pastedImage_1.png

This is the function 'chip_TIMER_Init' in LPCOpen. As we can see, the switch-case statement seem to be expected to add 'break' as the end of one case. Otherwise, the timer0 will be initialize unexpected when I use this function for timer1.

If a correction for this glitch can be  added into next version of LPCOpen, I will appreciate it very much.

标记 (2)
0 项奖励
回复
3 回复数

699 次查看
soledad
NXP Employee
NXP Employee

Hi,

Could you please mention the LPCOpen version you are using?

Could you please mention the device you are using?

Regards

Soledad

0 项奖励
回复

699 次查看
jinliwang
Contributor I

Hi, 

The LPCOpen Version is v3.00c.001 for  LPC5411X.

Thank you for your attention.

0 项奖励
回复

699 次查看
soledad
NXP Employee
NXP Employee

I reported this to our development team.

Thank you for your feedback.

Regards

Soledad

0 项奖励
回复