summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2024-11-17 13:14:35 -0500
committerRbb666 <[email protected]>2024-11-18 09:58:55 +0800
commit09f47c55a9cfc69f9df80f3c7b83b5e890b40adb (patch)
treec05995420720072da25b260a94cebc49666beb56
parenta406c8fce83ca55bbee0983a32e8512f8ccec446 (diff)
[utest] format code and remove duplicate header file
-rw-r--r--components/utilities/utest/utest.c2
-rw-r--r--components/utilities/utest/utest.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/components/utilities/utest/utest.c b/components/utilities/utest/utest.c
index 4871735d6f..45068f3f7d 100644
--- a/components/utilities/utest/utest.c
+++ b/components/utilities/utest/utest.c
@@ -33,7 +33,7 @@
#ifdef UTEST_THR_STACK_SIZE
#define UTEST_THREAD_STACK_SIZE UTEST_THR_STACK_SIZE
#else
-#define UTEST_THREAD_STACK_SIZE (4096)
+#define UTEST_THREAD_STACK_SIZE 4096
#endif
#ifdef UTEST_THR_PRIORITY
diff --git a/components/utilities/utest/utest.h b/components/utilities/utest/utest.h
index 56a6e0d57e..a7b6a0d702 100644
--- a/components/utilities/utest/utest.h
+++ b/components/utilities/utest/utest.h
@@ -12,7 +12,6 @@
#define __UTEST_H__
#include <rtthread.h>
-#include <stdint.h>
#include "utest_log.h"
#include "utest_assert.h"