diff options
| author | Bernard Xiong <[email protected]> | 2019-03-07 17:03:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-03-07 17:03:23 +0800 |
| commit | ce2cbb42ecb7f9633b648060708a13d0f478ef7c (patch) | |
| tree | 74c842d5da03de26d3e6b7399dc32eaaff86c4fa /src | |
| parent | a041f768a663120a43c41b19148e40df3e78f0d2 (diff) | |
| parent | 4f7c06f9232d30e768c1fd4925414e446e4ca585 (diff) | |
Merge pull request #2388 from armink/fix_rtdbg
Remove the DBG_COLOR and DBG_ENABLE definition.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Kconfig | 4 | ||||
| -rw-r--r-- | src/signal.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Kconfig b/src/Kconfig index 2fdcfd4982..fbfae65882 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -113,6 +113,10 @@ menuconfig RT_DEBUG if RT_DEBUG +config RT_DEBUG_COLOR + bool "Enable color debugging log" + default y + config RT_DEBUG_INIT_CONFIG bool "Enable debugging of components initialization" default n diff --git a/src/signal.c b/src/signal.c index 05632b2c4a..2d68562535 100644 --- a/src/signal.c +++ b/src/signal.c @@ -22,10 +22,8 @@ #define RT_SIG_INFO_MAX 32 #endif -// #define DBG_ENABLE #define DBG_SECTION_NAME "SIGN" -#define DBG_COLOR -#define DBG_LEVEL DBG_LOG +#define DBG_LEVEL DBG_INFO #include <rtdbg.h> #define sig_mask(sig_no) (1u << sig_no) @@ -51,8 +49,6 @@ static void _signal_entry(void *parameter) { rt_thread_t tid = rt_thread_self(); - dbg_enter; - /* handle signal */ rt_thread_handle_sig(RT_FALSE); |
