summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorwycwyhwyq <[email protected]>2025-04-10 10:20:21 +0800
committerRbb666 <[email protected]>2025-04-13 15:25:42 +0800
commit12de72a462d79c8d715a8fcd1620460abfa546fb (patch)
treea165402e87e871f0ce7c7668fe0ae57bb12dc04c /include/rtdef.h
parentda1c5c788279dab423458dafa79a85c29a9e31f6 (diff)
add RT_THREAD_CTRL_SET_PRIORITY
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index e214828c24..99ce5992d4 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -643,7 +643,7 @@ enum
#define RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 /**< Change thread priority. */
#define RT_THREAD_CTRL_INFO 0x03 /**< Get thread information. */
#define RT_THREAD_CTRL_BIND_CPU 0x04 /**< Set thread bind cpu. */
-#define RT_THREAD_CTRL_SET_PRIORITY 0x05 /**< Set thread priority. */
+#define RT_THREAD_CTRL_RESET_PRIORITY 0x05 /**< Reset thread priority. */
/**
* CPU usage statistics data