summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
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