diff options
| author | BernardXiong <[email protected]> | 2018-02-11 13:56:30 +0800 |
|---|---|---|
| committer | BernardXiong <[email protected]> | 2018-02-11 13:56:30 +0800 |
| commit | 011eb615bc036dececaafbf5d3526c508e0b61e2 (patch) | |
| tree | 2bed2fba5739d7f9769ef41367268b7fb0e8a58a | |
| parent | a30a52d78d32f54199340465d3fd33bbd6a25963 (diff) | |
[Kernel] Correct the comments of DBG_ENABLE macro.
| -rw-r--r-- | include/rtdbg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rtdbg.h b/include/rtdbg.h index 637390a1cd..26e289eff6 100644 --- a/include/rtdbg.h +++ b/include/rtdbg.h @@ -32,15 +32,15 @@ * header file. * * #define DBG_SECTION_NAME "[ MOD]" - * #define DEBUG_ENABLE // enable debug macro - * #define DEBUG_LEVEL DBG_INFO - * #include <rtdbg.h> // must after of DEBUG_ENABLE or some other options + * #define DBG_ENABLE // enable debug macro + * #define DBG_LEVEL DBG_INFO + * #include <rtdbg.h> // must after of DEBUG_ENABLE or some other options * * Then in your C/C++ file, you can use dbg_log macro to print out logs: * dbg_log(DBG_INFO, "this is a log!\n"); * * Or if you want to use different color for different kinds log, you can - * #define DEBUG_COLOR + * #define DBG_COLOR */ #ifndef RT_DBG_H__ |
