keil code is gray, can not call solution

Directly on the map
Here Insert Picture Description
the same code, highlighting why the normal display side, one side is gray code is not invoked, after the chiefs asked to give an answer.
Gangster says: #ifdef xx means that if you define #define xx, the compiler will run inside the code.

In summary, I found the highlight side RT_USING_MESSAGEQUEUE function in the header file to add the conditional compilation #defineRT_USING_MESSAGEQUEUE Here Insert Picture DescriptionHere Insert Picture Description
For a better understanding, I Baidu a bit, in fact, it is the #ifdef conditional compilation command, only to meet the conditions, which will be called statements.
Here Insert Picture Description
Finally, if I wrote the article really helped us a little favor, please do not hesitate to point a praise, if you want to learn together with my progress, you can focus on me, I QQ: 2992789432.Here Insert Picture Description

Published 45 original articles · won praise 96 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_40831778/article/details/102661957