From e29e14b4fd41ac457459a83e98621724bc02c0f2 Mon Sep 17 00:00:00 2001 From: Ciaran Woodward Date: Tue, 3 Mar 2020 17:05:55 +0000 Subject: [PATCH] [docs] fix outdated priority comment in message.hpp (#4627) Since the priority levels were inverted in #3132, this comment was incorrect. --- src/core/common/message.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/common/message.hpp b/src/core/common/message.hpp index 97f7c9809..089fd7cb2 100644 --- a/src/core/common/message.hpp +++ b/src/core/common/message.hpp @@ -105,7 +105,7 @@ struct MessageInfo uint8_t mSubType : 4; ///< Identifies the message sub type. bool mDirectTx : 1; ///< Used to indicate whether a direct transmission is required. bool mLinkSecurity : 1; ///< Indicates whether or not link security is enabled. - uint8_t mPriority : 2; ///< Identifies the message priority level (lower value is higher priority). + uint8_t mPriority : 2; ///< Identifies the message priority level (higher value is higher priority). bool mInPriorityQ : 1; ///< Indicates whether the message is queued in normal or priority queue. bool mTxSuccess : 1; ///< Indicates whether the direct tx of the message was successful. bool mDoNotEvict : 1; ///< Indicates whether or not this message may be evicted.