IAR的编译错误:Error[Pe070]: incomplete type is not allowed
IAR的编译错误:Error[Pe070]: incomplete type is not allowed只是想记录一个IAR开发STM8S时,发现的一个小错误。在头文件中定义一个函数,编译时报错。如下void Led-Reverse(led_t led);经过调试,发现是函数名不能有短横线“-”,改成下划线“_”,即void Led_Reverse(led_t led);编译,OK。...