mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 21:57:47 +00:00
[cli] fix printf style output (#8377)
When `OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE` is enabled.
This commit is contained in:
+2
-2
@@ -4620,7 +4620,7 @@ template <> otError Interpreter::Process<Cmd("pskcref")>(Arg aArgs[])
|
||||
|
||||
if (aArgs[0].IsEmpty())
|
||||
{
|
||||
OutputLine("0x%04x", otThreadGetPskcRef(GetInstancePtr()));
|
||||
OutputLine("0x%08lx", ToUlong(otThreadGetPskcRef(GetInstancePtr())));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -5040,7 +5040,7 @@ template <> otError Interpreter::Process<Cmd("networkkeyref")>(Arg aArgs[])
|
||||
|
||||
if (aArgs[0].IsEmpty())
|
||||
{
|
||||
OutputLine("0x%04x", otThreadGetNetworkKeyRef(GetInstancePtr()));
|
||||
OutputLine("0x%08lx", ToUlong(otThreadGetNetworkKeyRef(GetInstancePtr())));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user