mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 22:00:19 +00:00
Update return type for network id timeout to unit8_t. (#363)
This commit is contained in:
@@ -841,7 +841,7 @@ void otSetKeySequenceCounter(uint32_t aKeySequenceCounter);
|
||||
*
|
||||
* @sa otSetNetworkIdTimeout
|
||||
*/
|
||||
uint32_t otGetNetworkIdTimeout(void);
|
||||
uint8_t otGetNetworkIdTimeout(void);
|
||||
|
||||
/**
|
||||
* Set the NETWORK_ID_TIMEOUT parameter used in the Leader role.
|
||||
|
||||
@@ -391,7 +391,7 @@ void otSetKeySequenceCounter(uint32_t aKeySequenceCounter)
|
||||
sThreadNetif->GetKeyManager().SetCurrentKeySequence(aKeySequenceCounter);
|
||||
}
|
||||
|
||||
uint32_t otGetNetworkIdTimeout(void)
|
||||
uint8_t otGetNetworkIdTimeout(void)
|
||||
{
|
||||
return sThreadNetif->GetMle().GetNetworkIdTimeout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user