mirror of
https://github.com/espressif/openthread.git
synced 2026-09-17 06:30:10 +00:00
[network-diagnostic] fix ConnectivityTlv::GetParentPriority() (#5360)
This commit is contained in:
@@ -164,7 +164,7 @@ public:
|
|||||||
* @returns The Parent Priority value.
|
* @returns The Parent Priority value.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
int8_t GetParentPriority(void) const { return (mParentPriority & kParentPriorityOffset) >> kParentPriorityOffset; }
|
int8_t GetParentPriority(void) const { return (mParentPriority & kParentPriorityMask) >> kParentPriorityOffset; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method sets the Parent Priority value.
|
* This method sets the Parent Priority value.
|
||||||
|
|||||||
Reference in New Issue
Block a user