summaryrefslogtreecommitdiff
path: root/components/utilities/utest/utest_log.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-01-29 04:28:40 +0800
committerGitHub <[email protected]>2019-01-29 04:28:40 +0800
commitb2c2958964d429775e3da335a4f6ca5b4f9e1671 (patch)
tree25a2209ba4814d41b19e624a136ca1c7c894918f /components/utilities/utest/utest_log.h
parentdfebb30c91875c52f16fd4e7bb9e5981fd0512b4 (diff)
parent8ff9b7795f0423eee36a19b2a36cec4e00c1e831 (diff)
Merge pull request #2289 from armink/lts-v3.1.xv3.1.2
Lts v3.1.x
Diffstat (limited to 'components/utilities/utest/utest_log.h')
-rw-r--r--components/utilities/utest/utest_log.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/utilities/utest/utest_log.h b/components/utilities/utest/utest_log.h
index c954046b76..9f38d3f9c8 100644
--- a/components/utilities/utest/utest_log.h
+++ b/components/utilities/utest/utest_log.h
@@ -11,6 +11,8 @@
#ifndef __UTEST_LOG_H__
#define __UTEST_LOG_H__
+#include <rtthread.h>
+
#define UTEST_DEBUG
#undef DBG_SECTION_NAME
@@ -28,4 +30,9 @@
#define DBG_COLOR
#include <rtdbg.h>
+#define UTEST_LOG_ALL (1u)
+#define UTEST_LOG_ASSERT (2u)
+
+void utest_log_lv_set(rt_uint8_t lv);
+
#endif /* __UTEST_LOG_H__ */