STM32常见错误error: #268: declaration may not appear after executable statement in block 其他 2021-11-30 01:20 0 阅读 此错误中文意思:声明不能在可执行语句后出现。 表示有变量在函数后面声明,应该改为在函数开头声明变量。 因为keil 默认编译标准是C89,解决方法: 猜你喜欢