Skip to content

Commit

Permalink
Update src/lib/core/CHIPTLVTags.h
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux authored Nov 17, 2021
1 parent cd5f49c commit d9e4140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/CHIPTLVTags.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ inline uint32_t ProfileIdFromTag(Tag tag)
*/
inline uint16_t ProfileNumFromTag(Tag tag)
{
return static_cast<uint16_t>((tag & kProfileNumMask) >> kProfileIdShift);
return static_cast<uint16_t>((tag & kProfileNumMask) >> kProfileNumShift);
}

/**
Expand Down

0 comments on commit d9e4140

Please sign in to comment.