About the solution of error: #29: expected an expression
Recently, a keil project was created, and an error occurred during compilation: #29: expected an expression
This problem is because keil MDK uses C90 by default. You need to modify the configuration to support C99 to solve this problem.
The specific solutions are as follows:
Magic Wand --> C/C++ --> Check 'C99 Mode' on the right to confirm
Finally, recompile:
- 0 Error(s), 0 Warning(s).