Browse Source

[Kernel] Correct the comments of DBG_ENABLE macro.

BernardXiong 7 năm trước cách đây
mục cha
commit
011eb615bc
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      include/rtdbg.h

+ 4 - 4
include/rtdbg.h

@@ -32,15 +32,15 @@
  * header file.
  * header file.
  *
  *
  * #define DBG_SECTION_NAME    "[ MOD]"
  * #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:
  * 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");
  * dbg_log(DBG_INFO, "this is a log!\n");
  *
  *
  * Or if you want to use different color for different kinds log, you can
  * Or if you want to use different color for different kinds log, you can
- * #define DEBUG_COLOR
+ * #define DBG_COLOR
  */
  */
 
 
 #ifndef RT_DBG_H__
 #ifndef RT_DBG_H__