This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

clock函数



用clock模块设置了一个周期性函数,希望它能打断task中的WHILE轮询。但发现while中有system_printf时clock函数只能被调起一次,task卡在while循环中再出不来;而注释掉while中的system_printf则可以正常的周期性打断while。请问这是为什么,clock函数和system_printf有冲突吗,谢谢~