summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorxuzhuoyi <[email protected]>2018-11-16 20:09:46 +0800
committerxuzhuoyi <[email protected]>2018-11-16 20:09:46 +0800
commit37db67d94a269e1a9893d076ab2bb6b9883cfa8c (patch)
treefaaea1c497b8b50e638f768ed6fcc4ec83e6a90f /documentation
parent305307c90c8723dcdb79663f65a8933b5cb1b934 (diff)
parent63a6f6c4d2540b003296594c4b916cc1ba8d0b16 (diff)
Merge remote-tracking branch 'upstream/master'
# Conflicts: # src/thread.c
Diffstat (limited to 'documentation')
-rw-r--r--documentation/coding_style_en.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/coding_style_en.txt b/documentation/coding_style_en.txt
index dd321c1774..4eae4f52dd 100644
--- a/documentation/coding_style_en.txt
+++ b/documentation/coding_style_en.txt
@@ -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.