[radio] unify around otExtAddress type (#2029)

This commit is contained in:
Jonathan Hui
2017-07-28 08:05:06 -07:00
committed by GitHub
parent f77321ac9c
commit 5d7a03334f
27 changed files with 133 additions and 128 deletions
@@ -1172,7 +1172,7 @@ OTNODEAPI const char* OTCALL otNodeGetAddr64(otNode* aNode)
{
aNode->mMemoryToFree.push_back(str);
for (int i = 0; i < 8; i++)
sprintf_s(str + i * 2, 18 - (2 * i), "%02x", extAddr[i]);
sprintf_s(str + i * 2, 18 - (2 * i), "%02x", extAddr->m8[i]);
printf("%d: extaddr\r\n%s\r\n", aNode->mId, str);
}
otFreeMemory(extAddr);