Update return type for network id timeout to unit8_t. (#363)

This commit is contained in:
Jonathan Hui
2016-08-11 14:16:56 -07:00
committed by GitHub
parent 98aa2ebd25
commit 3863be7af1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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();
}