// RTX periodic timer code:
// TO DO: Set default timer period to your desired time.
// The period needs to be an even multiple of the HAL
// period found in the control panel.
// This example uses a period of 500 micro seconds.
Period.QuadPart = 500;
复制代码
你不是设置为 500ms 后执行吗?
貌似用不到 500ms 后面的程序就已经删除了定时器、退出程序运行了。
定时器都已经删除了,程序都退出了,还怎么执行...
执行什么...