为什么部分pic程序中可以不加CONFIG配置位说明

2020-02-09 09:18发布

最近看程序时部分程序加载CONFIG配置位,部分没有写??
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
5条回答
millwood0
2020-02-09 13:17
"最近看程序时部分程序加载CONFIG配置位,部分没有写??"

sometimes the default configuration works for a particular application. however, it is always a good habbit to specify explicitly your configuration in the code, not through ide.

"这与程序加载配置信息效果相同,却直观了许多。"

when someone takes your code, s/he may not know how you meant the configuration to be. As such, you should always write the configuration in the code, not through the ide.

一周热门 更多>