mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 16:20:05 +00:00
[radio] unify around otExtAddress type (#2029)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user