4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 00:27:19 +08:00

Merge pull request #1844 from jg1uaa/master

There is some "micro" word (e.g. section6), maybe "macro"?
This commit is contained in:
Bernard Xiong 2018-09-26 18:44:51 +08:00 committed by GitHub
commit 98aa6adfb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,9 +83,9 @@ example:
typedef struct rt_timer* rt_timer_t;
6. Micros
6. Macros
In RT-Thread, please use upper-case names for micro definitions. Words are
In RT-Thread, please use upper-case names for macro definitions. Words are
connected by "_". Like:
#define RT_TRUE 1
@ -178,7 +178,7 @@ It is not recommended to use rt_kprintf frequently. Unless you are aware of that
it's not a big deal to run slower.
Logging should be off by default and can be turned on by a switch(e.g. a
variable or a micro). When logging, it should be easy to understand and easy to
variable or a macro). When logging, it should be easy to understand and easy to
determine where the problem is.