[mle] move simple RLOC to Router ID conversion functions to mle_types.hpp (#8060)

This commit moves simple `static` member methods from `Mle` class to
`mle_types.hpp` (under `Mle` namespace).
This commit is contained in:
Abtin Keshavarzian
2022-08-23 16:14:09 -07:00
committed by GitHub
parent 2c3a10d67a
commit d17bde5b2d
17 changed files with 172 additions and 156 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ otDeviceRole otThreadGetDeviceRole(otInstance *aInstance)
const char *otThreadDeviceRoleToString(otDeviceRole aRole)
{
return Mle::Mle::RoleToString(MapEnum(aRole));
return Mle::RoleToString(MapEnum(aRole));
}
otError otThreadGetLeaderData(otInstance *aInstance, otLeaderData *aLeaderData)