ADS中不要用宏true

2019-10-1813:58:54 评论 816 views

在ADS1或2中不要如下使用宏定义:

#if true
    //...
#endif

因为编辑器中不会出错,但是编译之后就无法执行其中的内容了。
使用以下方法即可:

#if 1
    //...
#endif

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: