mirror of
https://github.com/espressif/openthread.git
synced 2026-07-22 20:14:07 +00:00
[style] make parameter names consistent across decls and defs (#3705)
This commit is contained in:
committed by
Jonathan Hui
parent
d32ca03a8b
commit
49c4b63491
@@ -88,14 +88,14 @@ exit:
|
||||
return error;
|
||||
}
|
||||
|
||||
otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aAddress)
|
||||
otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aLeaderRloc)
|
||||
{
|
||||
otError error;
|
||||
Instance &instance = *static_cast<Instance *>(aInstance);
|
||||
|
||||
VerifyOrExit(aAddress != NULL, error = OT_ERROR_INVALID_ARGS);
|
||||
VerifyOrExit(aLeaderRloc != NULL, error = OT_ERROR_INVALID_ARGS);
|
||||
|
||||
error = instance.GetThreadNetif().GetMle().GetLeaderAddress(*static_cast<Ip6::Address *>(aAddress));
|
||||
error = instance.GetThreadNetif().GetMle().GetLeaderAddress(*static_cast<Ip6::Address *>(aLeaderRloc));
|
||||
|
||||
exit:
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user